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 not bundled with PyCharm, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.
Item | Description |
---|---|
Node interpreter | In this field, specify the default Node.js interpreter for the current project. PyCharm 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 drop-down list or from the dialog that opens when you click . If you choose Here you can choose or configure only a local Node.js interpreter, that is, a Node.js installed on your computer. Remote interpreters are configured in the Configure Node.js Remote Interpreter Dialog dialog accessible from the Run/Debug Configuration: Node.js dialog. 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, PyCharm 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, PyCharm 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.
|