Last active
August 29, 2015 13:57
-
-
Save bladelee/9836229 to your computer and use it in GitHub Desktop.
node.js linux install
This file contains hidden or 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
wget http://nodejs.org/dist/v0.10.28/node-v0.10.28-linux-x86.tar.gz | |
tar xvzf node-v0.10.26-linux-x64.tar.gz | |
vi /etc/profile | |
export NODE_HOME=/usr/local/node-v0.10.26-linux-x64 | |
export PATH=$PATH:$NODE_HOME/bin | |
export NODE_PATH=$NODE_HOME/lib/node_modules | |
source /etc/profile | |
node -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment