Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>run npm scriptsNew to Visual Studio Code? Get it now.
run npm scripts

run npm scripts

denjay

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

Run NPM Scripts

A simple yet powerful VS Code extension that helps you quickly view and run npm scripts in your project.

Features

  • 📌 Adds an npm scripts button to VS Code status bar
  • 📜 Quick access to all npm scripts defined in package.json
  • ⚡ Run npm scripts with a single click
  • 🔄 Smart memory of last executed script with priority display
  • ⌨️ Re-run last script with Ctrl+Shift+R shortcut in terminal

How to Use

  1. Open a project containing package.json in VS Code
  2. Look for the "npm scripts" button in the status bar
  3. Click the button to open the scripts list
  4. Select a script to run, and the extension will execute it in the terminal
  5. To re-run the last executed script:
    • Focus on the terminal
    • Press Ctrl+Shift+R

Screenshot

Extension Demo

Installation

Search for "Run NPM Scripts" in the VS Code Extension Marketplace and click install.

License

MIT

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