Before you start, make sure the Node.js plugin is installed on the Settings | Plugins page, tab Marketplace, as described in Installing plugins from JetBrains Marketplace.
The following Node.js versions are supported in GoLand 2020.3 and later:
Node.js 16 - the Active Long Term Supported (LTS) version
Node.js 18 - the current version
Learn more from Supported Node.js versions
In this field, specify the default Node.js interpreter for the current project. GoLand automatically uses 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.
This read-only field shows the current version of Node.js.
Coding assistance for Node.js
When the configuration is completed, GoLand 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, Yarn, or pnpm) for the current project.
GoLand uses the
By default, GoLand suggests npm. However if you open a project with a yarn.lock file and Yarn is installed on your computer, GoLand automatically changes the package manager for this project to Yarn.
Accordingly, if you open a project with a pnpm-lock file and pnpm is installed on your computer, GoLand automatically changes the package manager for this project to pnpm.
You can also set Yarn 1 or pnpm as default GoLand package manager.