Created
January 31, 2023 16:58
-
-
Save ferdousulhaque/5643855a7fbcf91527c09f2b3fc1c733 to your computer and use it in GitHub Desktop.
These are the steps for installing nodejs on a public VPS for Node Applications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://nodejs.org/download/release/v16.19.0/node-v16.19.0-linux-x64.tar.gz | |
tar xvf node-v16.19.0-linux-x64.tar.gz | |
mv node-v16.19.0-linux-x64 nodejs | |
mkdir ~/bin | |
cp nodejs/bin/node ~/bin | |
cd ~/bin | |
ln -s ../nodejs/lib/node_modules/npm/bin/npm-cli.js npm | |
node --version | |
npm --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment