Skip to content

Instantly share code, notes, and snippets.

@devopsmariocom
Created November 6, 2015 10:33
Show Gist options
  • Save devopsmariocom/1ce2afea7c0184d9d2ce to your computer and use it in GitHub Desktop.
Save devopsmariocom/1ce2afea7c0184d9d2ce to your computer and use it in GitHub Desktop.
Centos node install
# 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