I just installed n on my Mac and everything is cool but is not installing on Windows. The process I did on Mac is:
sudo npm install -g n
sudo n 0.12.7
so what is the equivalent of doing that on Windows?
Update: n can be installed on Windows Subsystem for Linux, just follow the basic installation procedure:
Previously: From the documentation:
(Unfortunately n is not supported on Windows yet. If you're able to make it work, send in a pull request!)
So there is no equivalent of doing that on Windows short of forking the source code and figuring out how to make it work.
n can be installed on Windows now with Windows Subsystem for Linux. From N's document: "n is supported on macOS, Linux, including with Windows Subsystem for Linux, and various other unix-like systems. It is written as a BASH script but does not require you to use BASH as your command shell."
Reference: n document
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With