Node.js Interpreters Dialog
This feature is supported in the Ultimate edition only.
The following is only valid when Node.js Plugin is installed and enabled!
for Windows and Linux
Use this dialog box to configure Node.js installations 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 set up in a Vagrant instance. See Configuring 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.
|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.|
|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||Click this button to remove the selected interpreter from the list.|
|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, specify the Node package manager (npm) associated with the selected interpreter. Choose the relevant npm from the drop-down list or click next to it and in the dialog box that opens choose the location of the npm to use. |
Alternatively, you can specify the path to the Yarn package manager if you want to use it instead of npm.
The field is available only if the selected interpreter is of the type local.