Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Please use NVM(Node Version Manager), eg. nvm Or n. It's very easy to use. For example:

Install nvm

$ git clone https://github.com/creationix/nvm ~/.nvm
$ source ~/.nvm/nvm.sh

Usage

$ nvm ls  # installed version
$ nvm ls-remote  # available version
$ nvm install <version>  # install <version>, save to .nvm directory
$ nvm uninstall <version>  # uninstall <version>
$ nvm use <version>    # change to <version>
$ nvm alias default 0.10.32  # set default version