Installing Node.js with n

suggest change

First, there is a really nice wrapper for setting up n on your system. Just run:

curl -L https://git.io/n-install | bash

to install n. Then install binaries in a variety of ways:

latest

n latest

stable

n stable

lts

n lts

Any other version

n <version>

e.g. n 4.4.7

If this version is already installed, this command will activate that version.

Switching versions

n by itself will produce a selection list of installed binaries. Use up and down to find the one you want and Enter to activate it.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents