Skip to content

Instantly share code, notes, and snippets.

@saxenap
Last active August 29, 2015 14:19
Show Gist options
  • Save saxenap/a11c32c94b66319047d4 to your computer and use it in GitHub Desktop.
Save saxenap/a11c32c94b66319047d4 to your computer and use it in GitHub Desktop.
Install Node.JS and NPM
#!/bin/bash
#
# To run:
# rm -rf install-nodejs && wget -O install-nodejs https://gist.githubusercontent.com/saxenap/a11c32c94b66319047d4/raw && chmod 777 install-nodejs && ./install-nodejs
sudo yum -y install nodejs npm --enablerepo=epel
echo "Node.js and NPM Installed."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment