Created
September 15, 2017 07:27
-
-
Save rajesh-vi/1289d2c5c360e83b487d0c1ab286b4e6 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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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
not useful, did not get a solution yet.