Kaynağa Gözat

linux version updates

pull/16/head
samuel 11 ay önce
ebeveyn
işleme
182479d27b
1 değiştirilmiş dosya ile 7 ekleme ve 4 silme
  1. 7
    4
      linux_setup_el.sh

+ 7
- 4
linux_setup_el.sh Dosyayı Görüntüle

@@ -22,13 +22,16 @@ git config --global credential.helper store

# Install prerequisites
#NODE JS 16.17.1
wget https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.xz
tar -xf node-v16.17.1-linux-x64.tar.xz
node-v20.8.0-linux-x64.tar.xz
wget https://nodejs.org/dist/v20.8.0/node-v20.8.0-linux-x64.tar.xz
tar -xf node-v20.8.0-linux-x64.tar.xz
# Move the extracted folder to /usr/local/lib
sudo mv node-v16.17.1-linux-x64 /usr/local/lib/
sudo mv node-v20.8.0-linux-x64 /usr/local/lib/
# Create a symbolic link to the node executable
sudo ln -s /usr/local/lib/node-v16.17.1-linux-x64/bin/node /usr/local/bin/node
sudo ln -s /usr/local/lib/node-v20.8.0-linux-x64/bin/node /usr/local/bin/node
sudo ln -s /usr/local/lib/node-v20.8.0-linux-x64/bin/npm /usr/local/bin/npm
node -v
npm -v

#NPM
sudo yum install npm

Loading…
İptal
Kaydet