Usage: nvm help Show this message nvm install [-s] <version> Download and install a <version> nvm uninstall <version> Uninstall a version nvm use <version> Modify PATH to use <version> nvm run <version> [<args>] Run <version> with <args> as arguments nvm ls List installed versions nvm ls <version> List versions matching a given description nvm ls-remote List remote versions available for install nvm deactivate Undo effects of NVM on current shell nvm alias [<pattern>] Show all aliases beginning with <pattern> nvm alias <name> <version> Set an alias named <name> pointing to <version> nvm unalias <name> Deletes the alias named <name> nvm copy-packages <version> Install global NPM packages contained in <version> to current version
Example: nvm install v0.4.12 Install a specific version number nvm use 0.2 Use the latest available 0.2.x release nvm run 0.4.12 myApp.js Run myApp.js using node v0.4.12 nvm alias default 0.4 Auto use the latest installed v0.4.x version
rosebook:Vibration sangpire$
이 명령중, ls-remote 로 설치 가능한 버전을 확인하고, install 로 설치하면 완료.
1
nvm install 0.10
현재 ls-remote 명령을 실행하면, v0.11.5 까지 나타나지만, 설치해서 npm 으로 모듈을 설치하려 하니 오류가 좀 있어서, v0.10 을 설치 했습니다. (홈페이지에도, 현재 버전이 v0.10.15 라고 나오더군요.)