Closed sdudnic closed 3 years ago
Yes, this is invalid in PowerShell. However, you can do something similar with a semicolon.
PS> npm install; node index.js
I say similar, because it doesn't actually check the return value of the first statement, unlike &&
.
Edit: Seems you can do this in PowerShell 7. https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/7.0.md#700-preview5---2019-10-23
I mean, the readme is not universal then. For Windows users there should be another readme?
Windows, cloned the repository then followed the readme: