Node.js and NPM
for Windows and Linux
for macOS Ctrl+Alt+S
This page appears only when the Node.js bundled plugin is enabled on the Settings/Preferences | Plugins page as described in Installing plugins from JetBrains repository.
In this field, specify the default Node.js interpreter for the current project. WebStorm will automatically use it every time you select the
Select a configured interpreter from the list or click and configure a new one in the dialog that opens as described in Configuring a local Node.js interpreter. If you select node, the system Node.js version is used.
Here you can choose or configure only a local Node.js interpreter, that is, a Node.js installed on your computer, or a Node.js on Windows Subsystem for Linux, see Configuring a local Node.js interpreter and Using Node.js on Windows Subsystem for Linux for details.
Remote interpreters are configured in the Configure Node.js Remote Interpreter dialog accessible from the Run/Debug Configuration: Node.js. See Node.js with Docker, Node.js via SFTP, Node.js via SSH, and Node.js with Vagrant for details.
|Version||This read-only field shows the current version of Node.js.|
|Coding assistance for Node.js|
When the configuration is completed, WebStorm displays information about the currently configured version.
If you need code completion for Node.js APIs only in some parts of your project, you can configure that using the Manage scopes link. In the Usage dialog that opens, click the relevant directories and for each of them select the configured Node.js Core library from the list. Learn more from Configuring the scope of a library.
In this field, choose the package manager (npm or Yarn) for the current project.
WebStorm uses the
By default, WebStorm suggests npm. However if you open a project with a yarn.lock file and Yarn is installed on your machine, WebStorm automatically changes the package manager for this project to Yarn. You can also set Yarn 1 as default WebStorm package manager.
|Packages|| The Packages area shows a list of all the NPM-dependent packages that are currently installed on your computer. |