Using Node.js

Enabling Node.js support

To enable Node.js support on the server, follow these steps:

Plesk for Linux

  1. Go to Tools & Settings and click Updates and Upgrades.
  2. Go to Add/Remove Components, expand Web hosting, and mark the "NodeJS support" component for installation.
  3. Click Continue to begin the installation.

Plesk for Windows

  1. Go to Tools & Settings and click Updates and Upgrades.
  2. Go to Add/Remove Components, expand Web hosting, and mark the "Node.js IIS module (iisnode)" and "Node.js" components for installation.
  3. Select the desired Node.js version under the "Node.js" component
  4. Click Continue to begin the installation.
Managing Node.js versions

Plesk supports the latest stable and LTS releases of Node.js, with the following limitations:

To manage the Node.js version(s) available on the server, follow these steps:

Plesk for Linux

  1. Go to Extensions and click Node.js Manager. Here, you can see the Node.js versions installed on the server as well as the paths to their corresponding binaries.
  2. Click the icon next to a Node.js version to disable it. Disabling a Node.js version has the following effects:
  3. Click the icon next to a disabled Node.js version to enable it.

Plesk for Windows

  1. Go to Extensions and click Node.js Manager. Here, you can see the Node.js version installed on the server as well as the path to its binary.
  2. Click the icon next to the installed Node.js version to disable it. This will make all existing Node.js applications stop working, and the ability to manage Node.js applications for domains will be removed until Node.js is enabled again.
  3. Click the icon next to the installed Node.js version to enable it.
  4. To change the installed Node.js version, go to Tools & Settings, click Updates and Upgrades, go to Add/Remove Components, expand Web hosting, select the desired Node.js version under the "Node.js" component, and then click Continue.
Controlling Node.js availability to customers

Enabling Node.js support adds the following permissions to service plans and subscriptions, which you can use to regulate customers' access to the Node.js functionality:

Managing Node.js applications for websites

To learn about managing Node.js applications for websites, read the Node.js Support topic.