“CentOS Upgrade NodeJs” Kode Jawaban

Perbarui NodeJS Centos

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

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
Benja

Jawaban yang mirip dengan “CentOS Upgrade NodeJs”

Pertanyaan yang mirip dengan “CentOS Upgrade NodeJs”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya