How to install Node

Download the package

wget https://nodejs.org/dist/v21.5.0/node-v21.5.0-linux-x64.tar.xz

untar the files

tar -xvf node-v21.5.0-linux-x64.tar.xz

move it to /usr/local/

mv node-v21.5.0-linux-x64 /usr/local/node

make soft links to

ln -s /usr/local/node/bin/node /usr/bin/node
ln -s /usr/local/node/bin/npm /usr/bin/npm
ln -s /usr/local/node/bin/npx /usr/bin/npx

Check node version

node -v
v21.5.0

No comments:

Post a Comment

SIPp UAC Scenario to send RTP

Please install the latest sipp ( >=3.7.3 ) wget https://github.com/SIPp/sipp/releases/download/v3.7.3/sipp chmor +x sipp mv sipp /usr/bin...