Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Script Buttons AdvancedNew to Visual Studio Code? Get it now.
Script Buttons Advanced

Script Buttons Advanced

Santhosh Subramani

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

banner

Script Buttons Advanced

A generic package manager version of "Script Buttons".

This is a fork of the original Script Buttons extension by JackWaterfall. It includes additional features to support modern package managers like pnpm, yarn, and bun, in addition to npm.

Make running custom scripts easier!

Features

When a package.json file is detected in the current workspace folder, a button is created on the status bar for each script. When this button is clicked, it runs the script in a terminal using your preferred package manager.

scripts

Multi-Package Manager Support (New!)

Unlike the original extension which defaults to npm, this version allows you to switch between:

  • npm
  • pnpm
  • yarn
  • bun

You can change this globally or per workspace in your VS Code settings.

Custom Scripts

Scripts can also be loaded in from a script-buttons.json file.

scripts

When no scripts can be found a warning message will be displayed.

no-scripts

Tip: If you have since added a package.json/script-buttons.json file or have modified existing scripts clicking the refresh button will attempt to find scripts again and update the buttons.

Extension Settings

This extension contributes the following settings:

  • script-buttons.packageManager: Select the package manager to use for running scripts.
    • Options: npm (default), pnpm, yarn, bun.

To change this, go to File > Preferences > Settings, search for "Script Buttons", and choose your preferred tool from the dropdown.

Known Issues

There are currently no known issues.

Release Notes

1.0.0 (Fork Release)

  • Forked from original Script Buttons v1.1.1.
  • Added configuration to package.json for selecting package managers.
  • Added logic to support pnpm, yarn, and bun commands.
  • Updated status bar labels to reflect the active package manager.

Original History (JackWaterfall)

1.1.1 Added an NPM install button if a package.json file is detected.

1.1.0 Added the ability to define scripts without a package.json file, this is done using a script-buttons.json file.

1.0.0 Initial release.

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