Created
November 6, 2015 10:33
-
-
Save devopsmariocom/1ce2afea7c0184d9d2ce to your computer and use it in GitHub Desktop.
Centos node 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
# Setup NodeJS in case is not setup yet | |
sudo yum install tar xz -y | |
curl "https://nodejs.org/download/release/v5.0.0/node-v5.0.0-linux-x64.tar.xz" -o node.tar.xz | |
tar xf node.tar.xz | |
rm -f node.tar.xz | |
sudo mv node-v5.0.0-linux-x64 /opt/node | |
export PATH=/opt/node/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment