- Get Access to Remote Server via SSH
Syntax:- ssh -p PORT USERNAME@HOSTIP
Example:- ssh -p 22 [email protected]
- Check if Node and NPM already Installed
node -v
npm -v
- Install Node and npm
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
- You can get Latest Version of Node and NPM Installtion Link by following official https://github.com/nodesource/distributions/blob/master/README.md