Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>NPM SC SlideNew to Visual Studio Code? Get it now.
NPM SC Slide

NPM SC Slide

kela

|
2 installs
| (0) | Free
Run npm scripts directly from the Explorer sidebar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NPM Runner

A VS Code extension that lets you run npm scripts directly from the Explorer sidebar.

Features

  • Displays all npm scripts defined in your package.json in a dedicated panel within the Explorer
  • Click (or double-click) any script to run it in a new terminal
  • Right-click for context menu options: Run Script (current terminal) or Run in New Terminal
  • Auto-refreshes when package.json changes
  • Refresh button in the panel toolbar

Usage

  1. Open a workspace with a package.json that contains scripts
  2. The NPM Scripts panel will appear in the Explorer sidebar
  3. Click any script to run it in a new terminal
  4. Use the refresh button or right-click to access more options

Commands

Command Description
npmScripts.refresh Refresh the script list
npmScripts.runScript Run the script in the current terminal
npmScripts.runScriptInNewTerminal Run the script in a new terminal

Development

# Install dependencies
npm install

# Compile
npm run compile

# Watch mode
npm run watch

# Package for distribution
npm run package

Press F5 in VS Code to launch the extension in a new Extension Development Host window.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft