Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>NPM Scripts CasterNew to Visual Studio Code? Get it now.
NPM Scripts Caster

NPM Scripts Caster

mppon

| (0) | Free
NPM script runner with smart NVM auto-switch and flexible environment injection.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

npm-scripts-caster README

Extension to run npm scripts with NVM and custom environment variables

Installation

Install through VS Code extensions. Search for NPM Scripts Caster

Features

  • Add NPM Scripts view in explorer view
    • It's similar to builtin NPM Scripts view, but applies necessary node version before running
    • It executes nvm use if there is .nvmrc file in root directory
    • You can hide builtin NPM Scripts view by right clicking on it
  • Per-script environment variables
    • Click the ⚙ gear icon next to any script to configure custom environment variables
    • Configurations are saved in .vscode/npm-scripts-env.json per workspace
    • Configured env vars are automatically injected when running the script
  • Currently supports NPM, Yarn, and PNPM
  • For multi-repo workspaces provides tree view with set of commands for each project

中文文档

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft