Guide to Node.js™ Installations
Last modified: July 13, 2022
For more information about Node.js, visit the Node.js website.
Before you can install Node.js, your system must meet the following requirements:
- You must possess
root-level access to the server.
- Your server’s package manager must function properly. For more information about package managers, read our Package Manager Basics documentation.
You can install Node.js with one of the following methods:
In the interface, install the Node.js package in the Additional Packages section of WHM’s EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4).
On the command line, use your package manager to install the
Install a Node.js application
cPanel users can install Node.js web applications in one of the following ways:
Clone an existing application in cPanel’s Git Version Control interface (cPanel >> Home >> Files >> Git Version Control).
Create a new application. For an example of how to do this, read our How to Install a Node.js Application documentation.
You can uninstall Node.js with one of the following methods:
In the interface, uninstall the Node.js package in the Additional Packages section of WHM’s EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4).
On the command line, use your package manager to uninstall the
If you experience issues with your Node.js installation, use Phusion Passenger’s™ Troubleshooting Passenger Standalone and Node.js documentation to troubleshoot the issue.
If you experience issues with the port on which your Node.js applications listens, use Phusion Passenger’s™ Reverse port binding in Node.js documentation to troubleshoot the issue.
When you install Node.js, the package includes the following applications:
The system stores these applications in the