Skip to content

Instantly share code, notes, and snippets.

@hoangmy92
Last active November 30, 2017 08:41
Show Gist options
  • Save hoangmy92/91c63bbbf5cb09cb9140635932037454 to your computer and use it in GitHub Desktop.
Save hoangmy92/91c63bbbf5cb09cb9140635932037454 to your computer and use it in GitHub Desktop.
Install NodeJS v8 on Centos 7
# Unregister repo
sudo rm -fv /etc/yum.repos.d/nodesource*
# Clear cache
sudo yum clean all
sudo rm -rf /var/cache/yum
# Add new repo
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
# Install node v8
sudo yum install nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment