Answers for "install nodejs command line to cpnel"

0

install nodejs command line to cpnel

# Make a new folder for node
mkdir node
cd node
# Download and unzip node
curl -O https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-x64.tar.gz
tar -xvzf node-v10.15.3-linux-x64.tar.gz --strip-components=1
# Add node and npm it to PATH (and do so for future sessions too)
export PATH=$HOME/node/bin:$PATH
echo 'export PATH=$HOME/node/bin:$PATH' >> ~/.bashrc
Posted by: Guest on April-20-2021

Code answers related to "install nodejs command line to cpnel"

Code answers related to "Javascript"

Browse Popular Code Answers by Language