Created
October 8, 2018 09:07
-
-
Save tankhuu/db36ba6e746cc01d3b9518abee2dfe3a to your computer and use it in GitHub Desktop.
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
# For using epel packages | |
sudo yum install nodejs npm --enablerepo=epel | |
# For disable SSL if error occur: "npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY" | |
sudo npm config set strict-ssl=false | |
# Install npm & version control | |
sudo npm install -g n | |
sudo npm install -g npm | |
# Install specific nodejs version | |
sudo n v10.8.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment