Last active
November 30, 2017 08:41
-
-
Save hoangmy92/91c63bbbf5cb09cb9140635932037454 to your computer and use it in GitHub Desktop.
Install NodeJS v8 on Centos 7
This file contains 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
# 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