Skip to content

Instantly share code, notes, and snippets.

Last active Jun 15, 2016
What would you like to do?
Install Node and NPM on Precise 64 12.04 LTS from source. Other uses, use binary
#instructions from
sudo apt-get -y update
sudo apt-get -y install build-essential
sudo apt-get -y install curl
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl | tar xz --strip-components=1
./configure --prefix=~/local
curl | sh
node -v

This comment has been minimized.

Copy link
Owner Author

@stanzheng stanzheng commented Jan 21, 2014


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment