Last active
June 20, 2019 14:33
-
-
Save BoWang816/324dd592fc0076454bc690aa61b6dc3f to your computer and use it in GitHub Desktop.
[ubuntu安装nodejs] #软件安装
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
ubuntu安装nodejs | |
sudo apt-get update | |
sudo apt-get install -y software-properties-common | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
apt-get install nodejs-legacy | |
安装nvm: | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash | |
安装完执行 source .bashrc | |
nvm install 10.15.3 | |
nvm use 10.15.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment