PhpStorm 2017.3 Help

Node.js Interpreters Dialog

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


The dialog box opens when you click the Browse button 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 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.

Item Tooltip Description
Node.js Interpreters The list shows all the configured Node.js interpreters, both local and remote ones. For local interpreters, PhpStorm also shows the path to the Node.js executable file and to the associated npm executable file, see NPM.
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, specify the Node package manager (npm) associated with the selected interpreter. Choose the relevant npm from the drop-down list or click browseButton 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.

Last modified: 3 November 2017

See Also