Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Bash RunnerNew to Visual Studio Code? Get it now.
Bash Runner

Bash Runner

leosj29

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

Bash Runner

Quickly run bash (.sh) files in the VS Code terminal:

Executing a bash file

Shortcut

If the active document is a bash file, press F5 to execute it.

Context Menu

This extension adds the options to run a bash file when using right click in the explorer.

Context menu run bash file

Button

When a bash file is open in the editor, a small icon is added to the top right corner which can be used to run the file.

Run bash file button


Running bash file with arguments

VS Code can show a dialog where you can type the arguments separated by spaces before executing the bash file.


Feedback, Bugs or Requests

If you have any questions, feature requests or run into any bugs, don't hesitate to get in contact with me:

Report an issue

Special thanks to

Nils Söderman

  • This repository is based on the work done by Nils Söderman and their repository vscode-batch-runner.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft