PhpStorm
 
Get PhpStorm

Run/Debug Configuration: NPM

Last modified: 17 November 2022

Required plugins:

JavaScript and TypeScript - The plugin is bundled with PhpStorm and enabled by default.

Node.js - The plugin is bundled with PhpStorm and enabled by default.

Create: Run | Edit Configurations | Add New Configuration | NPM

In this dialog, create configurations for running npm and Yarn scripts locally. "Locally" in the current context means that PhpStorm itself starts Node.js installed on your computer, whereupon initiates script execution.

Learn more from npm, pnpm, and Yarn.