Run npm scripts, create custom commands & flows from a beautiful sidebar. Supports global commands, usage tracking, import/export, and keyboard shortcuts.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
The ultimate npm script runner for VS Code. Run package.json scripts, create custom commands & flows, manage global commands, and track your usage - all from a beautiful sidebar.
✨ Features
Package.json Scripts
Beautiful Sidebar Interface - Clean, modern UI integrated into VS Code's activity bar
Smart Icon Mapping - Automatically displays appropriate icons for script types (dev, build, test, start, deploy, docker, and more)
Real-time Search - Instantly filter scripts by name or command
One-Click Execution - Run any script directly in the terminal
Auto-refresh - Automatically updates when package.json changes or sidebar becomes visible
Keyboard Shortcut - Open panel instantly with Ctrl+Alt+S (Windows/Linux) or Cmd+Alt+S (Mac)
Auto-Focus Search - Search input is automatically focused when panel opens
Custom Scripts & Flows
Create Custom Commands - Add single commands that aren't in your package.json
Build Command Flows - Chain multiple commands together like CI/CD pipelines
Workspace-Specific - Custom scripts and flows are saved per workspace/project
Type Toggle - Easily switch between creating a single command or a multi-command flow
Cross-Platform - Flows work on Windows, macOS, and Linux
Globals (Cross-Workspace)
Global Commands - Create commands accessible from any project
Global Flows - Build multi-command workflows that work everywhere
Always Available - Your global entries are not tied to any specific workspace
Hover Tooltips
Detailed View - Hover over any item to see full command details
Flow Preview - See all commands in a flow with numbered indices
Type Badges - Quickly identify command vs flow type
Usage Tracking
Usage Counter - See how many times you've run each script
Last Used Time - Know when you last ran a command
Recent Indicator - Recently used scripts are highlighted
Settings
Customizable UI - Enable/disable features to fit your workflow
Toggle Tooltips - Show or hide hover tooltips
Toggle Import/Export - Show or hide data management buttons
Toggle Stats - Show or hide usage count and last used time
Toggle Tabs - Show or hide Custom and Globals tabs
Persistent - Settings are saved globally across all workspaces
Data Management
View Data - Inspect your saved scripts and flows as JSON
Export - Backup your custom scripts, flows, and globals to a file
Import - Restore or share configurations with replace/merge options
Tab-Specific Actions - Export/import only what you need
📦 Installation
From VS Code Marketplace
Open VS Code
Go to Extensions (Ctrl+Shift+X or Cmd+Shift+X)
Search for "NPM Pilot"
Click Install
From VSIX File
Download the .vsix file
Open VS Code
Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
Type "Install from VSIX..."
Select the downloaded .vsix file
Reload VS Code when prompted
🚀 Usage
Getting Started
Open a workspace that contains a package.json file
Click the NPM Pilot icon in the activity bar (left sidebar)
View all your npm scripts organized in a clean interface
Running Scripts
Package.json Scripts - Click any script to run npm run <script> in a new terminal
Custom Scripts - Create and run your own single commands
Flows - Execute multiple commands in sequence
Globals - Run commands that work in any project
Navigation Tabs
Tab
Description
package.json
Scripts from your package.json file
Custom
Your custom scripts and flows for this workspace
Globals
Commands and flows available in all workspaces
Creating Custom Scripts or Flows
Switch to the Custom tab
Click to expand "Add New"
Choose type: Command (single) or Flow (multiple)
Enter a name and command(s)
Click "Create"
Creating Globals
Switch to the Globals tab
Click to expand "Add New Global"
Choose type: Command or Flow
Enter a name and command(s)
Click "Create Global"
Settings
Click the gear icon in the top-right corner
Toggle settings on/off:
Show hover tooltips
Show import/export buttons
Show last used time
Show used count
Enable Custom tab
Enable Globals tab
Import/Export
Global Actions (top) - View All, Export All, Import All data
Tab Actions (bottom of each tab) - Work with specific data types only