Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install latest node on centos

yum install -y gcc-c++ make 
# v16
curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash -
# v14
# curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash - 
yum install nodejs
node -v
Comment

update nodejs centos

$ curl -sL https://rpm.nodesource.com/setup_12.x | bash -
sudo yum install nodejs
Comment

centos upgrade nodejs

# If you don't have an existing version:
sudo yum install nodejs


# If you have installed:
# Option 1
curl -sL https://rpm.nodesource.com/setup_16.x | bash -
sudo yum install nodejs

# Option 2 (I have issues sometimes with Option 1)
wget http://nodejs.org/dist/v16.14.2/node-v16.14.2.tar.gz
tar xzvf node-v* && cd node-v*
sudo yum install gcc gcc-c++
./configure
make
sudo make install
Comment

PREVIOUS NEXT
Code Example
Shell :: homebrew install git 
Shell :: wifi password in windows 10 
Shell :: install maven on linux 
Shell :: how to install yarn 
Shell :: docker output ps format 
Shell :: enable lightdm 
Shell :: install pygame on mac 
Shell :: conda install boto3 
Shell :: open visual studio code from terminal mac 
Shell :: how to restart psql in linux 
Shell :: how to remove .idea from git 
Shell :: install rpm ubuntu 
Shell :: redux install 
Shell :: restart network raspberry pi 
Shell :: git push tags 
Shell :: bash get current date 
Shell :: unable to start ssh-agent service, error :1058 
Shell :: remove submodule git 
Shell :: search for word in text files ubuntu 
Shell :: locale setting linux 
Shell :: install xelatex ubuntu 
Shell :: how to clear all the caches in ubuntu 
Shell :: swapping of two numbers without using third variable in shell script 
Shell :: pm2 adonis 5 
Shell :: mysql port check ubuntu 
Shell :: mongodb log directory missing ubuntu 
Shell :: amend last commit message 
Shell :: how to uninstall lightshot in ubuntu 
Shell :: linux open current directory in gui 
Shell :: react native Could not find "Podfile.lock" at 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =