Skip to content

Instantly share code, notes, and snippets.

@sunnoy
Created September 14, 2017 03:31
Show Gist options
  • Save sunnoy/1b5109357505bfc70c2823fea55ae1f9 to your computer and use it in GitHub Desktop.
Save sunnoy/1b5109357505bfc70c2823fea55ae1f9 to your computer and use it in GitHub Desktop.
前段nodejs集合
sudo apt install nodejs
sudo apt install npm
中国镜像
npm config set registry https://registry.npm.taobao.org
升级node
npm install -g n
n stable
升级npm
npm install npm -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment