Skip to content

Instantly share code, notes, and snippets.

@mortenbra
Created July 17, 2015 07:36
Show Gist options
  • Save mortenbra/fb8d411d7593617fc5fa to your computer and use it in GitHub Desktop.
Save mortenbra/fb8d411d7593617fc5fa to your computer and use it in GitHub Desktop.
Install node.js and node package manager (npm) on CentOS
# install node.js on CentOS
# see https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-a-centos-7-server
# install EPEL (Extra Packages for Enterprise Linux) repository
yum install epel-release -y
# install node
yum install nodejs -y
# install node package manager (NPM)
yum install npm -y
# check version of node
node --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment