IntelliJ IDEA 2018.1 Help

Node.js Interpreters Dialog

File | Settings | Languages and Frameworks | Node.js and NPM for Windows and Linux
IntelliJ IDEA | Preferences | Languages and Frameworks | Node.js and NPM for macOS

The dialog box opens when you click Browse browseButton.png   next to the Node Interpreter drop-down list in the Run/Debug Configuration: Node.js dialog or on the Node.js and NPM page.

Use this dialog box to configure Node.js as local and remote interpreters.

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. See Configuring Remote Node.js Interpreters for details.

When the dialog box opens from the Node.js and NPM page, you can only configure local interpreters installed on your computer. When the dialog box is accessed from the Run/Debug Configuration: Node.js dialog, both local and remote interpreters can be configured.

Item Tooltip Description
Node.js Interpreters The list shows all the configured Node.js interpreters, both local and remote ones. For local interpreters, IntelliJ IDEA also shows the path to the Node.js executable file and to the associated npm executable file, see npm and Yarn.
new Add Click this button to add a new Node.js interpreter to the list. From the drop-down menu, choose All Local or Add Remote. Note that the Add Remote item is available only you opened the dialog box from the Run/Debug Configuration: Node.js dialog.

Depending on your choice, either select the relevant local Node.js installation or configure a remote interpreter in the Configure Node.js Remote Interpreter Dialog that opens.

delete Delete Click this button to remove the selected interpreter from the list.
edit Edit Click this button to create a new interpreter with the settings copied from the selected one.
Node interpreter This read-only field shows the path to the selected local interpreter.
Npm package In this field, choose the package manager (npm or Yarn) to use in the current project, see Configuring a package manager for a project for details.

The field is available only if the selected interpreter is of the type local.

Last modified: 24 July 2018

See Also