Last active
November 25, 2017 15:22
-
-
Save devlifeX/352766cf85f3f7891955f7ec8cc84008 to your computer and use it in GitHub Desktop.
install nodejs && npm version 9,8 on gnu/linux debian base
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
Version 9: | |
$ curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - | |
Version 8: | |
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
$ sudo apt-get install -y nodejs | |
$ npm install -g npm@latest | |
$ echo "alias node='nodejs'" >> ~/.bashrc | |
$ source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment