Node.js and NPM
for macOS
Ctrl+Alt+S
This page appears in the Settings dialog box, when the Node.js plugin is enabled. The plugin is activated by default. If the plugin is disabled, enable it on the Plugins page as described in Managing plugins.
Item | Description |
---|---|
Node interpreter | In this field, specify the default Node.js interpreter for the current project. WebStorm will automatically use it every time you select the Project alias from Node Interpreter lists when creating run/debug configurations or configuring Node.js-dependent tools, for example, Prettier or Yeoman. Choose the interpreter from the list or from the dialog that opens when you click . If you choose 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 dialog accessible from the Run/Debug Configuration: Node.js. See Configuring Remote Node.js Interpreters for details. |
Version | This read-only field shows the current version of Node.js. |
Coding assistance for Node.js | Select this checkbox to configure the Node.js Core module sources as a JavaScript library and associate it with your project. As a result, WebStorm provides code completion, reference resolution, validation, and debugging capabilities for fs , path , http , and other core modules that are compiled into the Node.js binary. When the configuration is completed, WebStorm displays information about the currently configured version. Optionally
|
Packages | The Packages area shows a list of all the NPM-dependent packages that are currently installed on your computer.
|