Skip to content

Instantly share code, notes, and snippets.

@lijiansong
Created January 7, 2018 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lijiansong/13e50c6d8d9b0e363e9f8bebe5c11c50 to your computer and use it in GitHub Desktop.
Save lijiansong/13e50c6d8d9b0e363e9f8bebe5c11c50 to your computer and use it in GitHub Desktop.
Install node.js v6.10.2 and npm 3.10.10 for Ubuntu 14.04 for Try Typescript for Codingforenterpreuners
### nvm installation
$ curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh
### run script
$ bash install_nvm.sh
$ source ~/.profile
$ nvm ls
$ nvm install 6.10.2
### set default node
$ nvm alias default 6.10.2
$ nvm use default
#Check your version
$ node -v
$ npm -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment