Installieren Sie Knoten von Binärer

cd /tmp
wget https://nodejs.org/dist/v14.17.6/node-v14.17.6-linux-x64.tar.xz
sudo tar -xJvf node-v14.17.6-linux-x64.tar.xz
sudo mkdir /usr/local/lib/node
sudo mv node-v14.17.6-linux-x64 /usr/local/lib/node/nodejs
echo -e '\nexport NODEJS_HOME=/usr/local/lib/node/nodejs' >>  $HOME/.profile
#Refresh profile
. ~/.profile
#Check
npm -version && node -v
jegs