PhpStorm 2018.2 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 browseButton   next to the Node Interpreter field in the Run/Debug Configuration: Node.js dialog or on the Node.js and NPM page.

Use this dialog box 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.




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 and Yarn.

icons general add svg


Click this button to add a new Node.js interpreter to the list. From the drop-down menu, select Add Local, Add Remote, or Add WSL. 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.

icons general remove svg


Click this button to remove the selected interpreter from the list.

icons actions edit svg


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.

Last modified: 21 November 2018

See Also