Introduction
If the server has the required packages installed for NodeJS to work, which can be found in our documentation here, NPM packages can be installed from the command line with the npm install
command.
Procedure
- Access the server's command line as the cPanel user via SSH or "Terminal" in cPanel.
- Use the
npm install
command to install the desired package.[cpuser@server ~]cPs# npm install debug
added 2 packages, and audited 4 packages in 487ms
found 0 vulnerabilities
Comments
0 comments
Article is closed for comments.