Question
How can I install NodeJS in WHM?
Procedure
The Application Manager in cPanel allows users to deploy Phusion Passenger applications, including NodeJS apps. To install NodeJS on your system, you'll need to install the supporting packages.
- Navigate to "WHM / Software / EasyApache 4" and click customize:
- Click the "Apache Modules" section, then ensure mod_env and mod_passenger are enabled:
- Next, navigate to the "Additional Packages" section and select a version of NodeJS to install. Only one version can be installed at a time via EasyApache.
- Click "Review" then "Provision" once you've reviewed the packages queued for installation.
Resources
Once NodeJS is installed, you'll need to set up your individual applications in cPanel.
How to Install a Node.js Application | cPanel Docs
Please note that NodeJS is a back-end JavaScript runtime environment. cPanel Support is limited to ensuring the basic functionality of the provided runtime components and cannot directly provide assistance with application code. It's recommended to reach out to a developer for further guidance or refer to NodeJS' official documentation: