Cmdrivo
Discover and run project scripts directly from VS Code.
Cmdrivo is a lightweight Visual Studio Code extension that automatically discovers scripts from package.json files across your workspace and lets you execute them directly from the Explorer sidebar.
No need to navigate through directories or manually type commands every time.
Features
- Automatic Script Discovery — Finds
package.json files across your workspace.
- One-Click Execution — Run scripts directly from the Explorer sidebar.
- Multi-Project Support — Discover scripts from multiple projects and nested directories.
- Automatic Refresh — Updates the script list when a
package.json file is created, changed, or deleted.
- Package Manager Detection — Detects npm, pnpm, Yarn, and Bun using project lockfiles.
- Correct Working Directory — Executes each script from its corresponding project directory.
Preview

Supported Package Managers
| Package Manager |
Execution Command |
| npm |
npm run dev |
| pnpm |
pnpm run dev |
| Yarn |
yarn dev |
| Bun |
bun run dev |
Package manager detection is based on lockfiles found in the project directory. npm execution has been tested; other package managers are implemented but still require testing.
Getting Started
- Open a project or workspace containing one or more
package.json files.
- Find Cmdrivo in the VS Code Explorer sidebar.
- Expand a project folder to see its available scripts.
- Click a script to execute it in the appropriate terminal.
Example
For a project containing:
{
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
}
}
Cmdrivo automatically discovers these scripts and makes them available in the Explorer sidebar.
Development Setup
Want to contribute or run Cmdrivo locally?
git clone https://github.com/Emil-Binoy/Cmdrivo-VSC-extension
cd Cmdrivo-VSC-extension
npm install
npm run compile
Press F5 in VS Code to launch the Extension Development Host.
Tech Stack
- TypeScript
- Visual Studio Code Extension API
- Node.js
- esbuild
Roadmap
- [ ] Improve package manager detection and workspace handling.
- [ ] Add better script execution error handling.
- [ ] Improve empty-state guidance.
- [ ] Add comprehensive tests.
- [ ] Publish to the Visual Studio Code Marketplace.
Contributing
Contributions, suggestions, and bug reports are welcome.
Feel free to open an issue or submit a pull request.
License
License information will be added before the public release.