IntelliJ IDEA
 
2024.3
Get IntelliJ IDEA

npm, pnpm, and Yarn

Last modified: 31 October 2024

IntelliJ IDEA integrates with the npm, pnpm, Yarn, Yarn 2, and Yarn 3, so you can install, locate, update, and remove packages of reusable code from inside the IDE, in the built-in Terminal.

IntelliJ IDEA also lets you run and debug npm, Yarn, and pnpm scripts. IntelliJ IDEA parses package.json files, recognizing definitions of scripts, shows scripts in a tree view, and lets you navigate between a script in the tree and its definition in the package.json file. For more information, refer to npm, Yarn, and pnpm official websites.

IntelliJ IDEA detects projects with Yarn workspaces and indexes all the dependencies that are listed in the package.json files of the workspaces but are located in the root node_modules folder.