If you want to install Node.js version 5.0
using NVM
GitHub : https://github.com/creationix/nvm
1. install script (file : nvm.sh)
- using curl
$curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
- using wget$wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
2. manual install$git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`
# If console shows no command 'nvm' found,
add to ~/.bashrc OR ~/.profile OR ~/.zshrc append this code.
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
3. install Node.js$nvm install 5.0
4. use Node.js - use 5.0 version$nvm use 5.0
And now just use it, Node.js v5.0
댓글 없음:
댓글 쓰기