Page tree
Skip to end of metadata
Go to start of metadata

Overview

Node.js™ is an open-source server environment that runs JavaScript. It does not use threads and does not block processes. Because of this, it provides efficient resource management.

For more information about Node.js, visit the Node.js website.

Requirements

Before you can install Node.js, your system must meet the following requirements:

  • Your server must run CentOS 6 or 7, Red Hat® Enterprise Linux® (RHEL) 6 or 7, or CloudLinux™ 6 or 7.
  • Your server must run EasyApache 4.
  • You must possess root-level access to the server.
  • Your server's yum installation must function properly. For more information about yum, read our Yellowdog Updater, Modified (yum) Basics documentation.

Install Node.js

You can install Node.js with one of the following methods.

In the interface

Install the  ea-nodejs10 module in the Additional Packages section of WHM's  EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4).

On the command line

To install the ea-nodejs10 module in EasyApache 4, run the following command on the command line:

yum install ea-nodejs10

Uninstall Node.js

In the interface

Uninstall the ea-nodejs10 module in the Additional Packages section of WHM's  EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4).

On the command line

To uninstall the ea-nodejs10 module in EasyApache 4, run the following command on the command line:

yum remove ea-nodejs10

Included applications

When you install the ea-nodejs10 package, the package includes the following applications:

  • Node.js
  • NPM — A Node process manager.
  • NPX — A Node process runner.

The system stores these applications in the /opt/cpanel/ea-nodejs10/bin/ directory.

Install a Node.js application

cPanel users can install Node.js web applications in either of the following ways:

  1. Clone an existing application in cPanel's Git Version Control interface (cPanel >> Home >> Files >> Git Version Control).
  2. Create a new application. For an example of how to do this, read our How to Install a Node.js Application documentation.

The Node.js Foundation provides a list of Node.js applications. This list is not comprehensive.

Additional documentation

There is no content with the specified labels

There is no content with the specified labels