Cantech Knowledge Base

Your Go-To Hosting Resource

How To Install Node.js On cPanel Server Via WHM?

The most recent v80 release of cPanel has been supported with Node.js. Before this update, cPanel lacked built-in support of Node.js; it would either have to install it through a manual process in the server, or purchase Cloud Linux, which supported Node.js.

Node.js is an open source multi-platform JavaScript runtime engine that is used to develop a wide variety of applications. Despite the fact that Node.js is not a full-fledged JavaScript framework, most of its core modules are code-written in JavaScript. It is mostly utilized to serve different applications, including the Ghost weblogging platform.

The prerequisites of the NodeJS package of cPanel are as follows:

CentOS 6 or 7, Red Hat Enterprise Linux 6 or 7, or Cloud Linux 6 or 7 OS.

• EasyApache 4
• Root‑level access

Prior environment to execute the installation of a Node.js application:

It should be noted that EasyApache 4 RPMs below must be installed on your server prior to the start:

Select the Customize option in the EasyApache 4.

Select the Customize option

Install the prerequisites: Proceed to Apache Modules and Ruby Via Passenger:

Proceed to Apache Modules and Ruby Via Passenger

Choose the right Node.js hosting plan to be deployed.

Install the following RPMs:

• ea‑ruby27‑mod_passenger

Install the following RPMs

• ea‑apache24‑mod_env

ea‑apache24‑mod_env

• ea‑nodejs10

ea‑nodejs10

• ea‑ruby27‑ruby‑devel

ea‑ruby27‑ruby‑devel

Installation of node.js:

Method 1

Log in to WHM with root access.

Log in to WHM

In the left side search bar, enter and press the word Terminal.

press the word Terminal

A terminal window will be opened.

terminal window will be opened

In order to install the Ruby 24 mod passenger, use the following command and hit Enter:

yum install ea-ruby24-modpassenger ea-apache24-modenv.

install the Ruby 24 mod passenger

Check the installation by typing y and pressing Enter a successful message will be shown.

In order to install Node.js, type the following command and press Enter:

yum install ea‑nodejs10

order to install Node.js

It will now demand confirmation by typing y and hitting the Enter button.

Your message will have the information that the Node.js is installed.

Method 2 (UI)

You should log in to WHM as the root account.

log in to WHM as the root

Click on EasyApache4 under software.

Click on EasyApache4

Select the customize option to add new packages.

Select the customize option

Then, you should press the button Additional Packages.

button Additional Packages

Toggle the button adjacent to Node.js10 package and proceed to next.

Node.js10 package and proceed to next

In the next window, all packages that will be installed will be provided as an overview. Make sure that the third column does not have any packages. Should a proper appearance be achieved, from the menu, then provision and the installation process will begin.

provision and the installation process will begin

Once this has been done, the users of cPanel can install Node.js web applications by using:

  • Cloning using cPanel Git repository.
  • Developing a new application using the application manager.

You may also reach the support team in case you need support in carrying out the above process.

December 24, 2025