IntelliJ IDEA 2020.2 Help

Node.js Interpreters Dialog

Use this dialog to configure a local or remote Node.js interpreter or a Node.js on Windows Subsystem for Linux.

The term local Node.js interpreter denotes a Node.js installation on your computer. The term remote Node.js interpreter denotes a Node.js installation on a remote host or in a virtual environment.

Before you start

  1. Download and install Node.js.

  2. Make sure the Node.js bundled plugin is enabled on the Settings/Preferences | Plugins page, see Managing plugins for details.

  3. If you are going to configure a remote interpreter, install the Node.js Remote Interpreter plugin on the Settings/Preferences | Plugins page as described in Installing plugins from JetBrains repository.

Open the Node.js Interpreters dialog

The way you get to the Node.js Interpreters dialog depends on the type of interpreter you want to use.

You need a local or a WSL Node.js interpreter

  • Open the Settings/Preferences dialog Ctrl+Alt+S , go to Languages and Frameworks | Node.js and NPM, and click the Browse button next to the Node Interpreter field.

Open the Node.js Interpreters dialog from Settings

You need a remote Node.js interpreter

  1. From the main menu, select Run | Edit Configurations, then select the required Node.js run/debug configuration, see Working with run/debug configurations for details.

  2. In the Run/Debug Configuration: Node.js dialog, click the Browse button next to the Node Interpreter field.

Open the Node.js Interpreters dialog from Node.js run configuration

Configure Node.js interpreters

The Node.js Interpreters dialog lists all the configured Node.js interpreters that are available in the current context:

Use the Add button, the Remove button, and the Edit button to add and remove existing Node.js configurations as well as create new ones based on their settings.

the Add button Add

Click this button to add a new Node.js interpreter to the list and select Add Local, Add Remote, or Add WSL from the list.

Note that Add Remote is available only when you open the dialog from a Node .js run configuration.

Depending on your choice, select the relevant local Node.js installation, or configure a remote interpreter in the Configure Node.js Remote Interpreter dialog, or specify the Linux distribution you’re using and the path to Node.js in the Add WSL Node Interpreter dialog.

the Remove button Delete Click this button to remove the selected interpreter from the list.
the Edit button Edit Click this button to create a new interpreter with the settings copied from the selected one.
Last modified: 19 August 2020