Skip to content

Instantly share code, notes, and snippets.

@BoWang816
Last active June 20, 2019 14:33
Show Gist options
  • Save BoWang816/324dd592fc0076454bc690aa61b6dc3f to your computer and use it in GitHub Desktop.
Save BoWang816/324dd592fc0076454bc690aa61b6dc3f to your computer and use it in GitHub Desktop.
[ubuntu安装nodejs] #软件安装
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