Skip to content

Latest commit

 

History

History
19 lines (19 loc) · 537 Bytes

Install_Node_NPM.md

File metadata and controls

19 lines (19 loc) · 537 Bytes

How to Install Node and NPM on VPS Hosting Remote Server

  • 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