Skip to content

Instantly share code, notes, and snippets.

@shenmao1989
Created September 3, 2012 03:57
Show Gist options
  • Save shenmao1989/3606642 to your computer and use it in GitHub Desktop.
Save shenmao1989/3606642 to your computer and use it in GitHub Desktop.
nodejs ubuntu 升级
Example install:
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs npm
It installs current stable Node on the current stable ubuntu.
If you want to compile Node C++ modules:
sudo apt-get install nodejs-dev
Or configure shell script for install node.js using http://apptob.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment