Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Right Click Run FileNew to Visual Studio Code? Get it now.
Right Click Run File

Right Click Run File

Cristian Militaru

|
3 installs
| (0) | Free
Right click any executable file to run it in the terminal
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

▶️ Right Click Run File

Right click any executable file to run it in the terminal

Open VSX Version Open VSX Downloads GitHub GitHub Stars License Donate


✨ Features

  • Context Menu Integration: Run scripts and executables directly from the explorer.
  • Cross-Platform: Support for Windows, macOS, and Linux.
  • Run as Admin: Execute with elevated privileges (RunAs/sudo).
  • Integrated Terminal: Seamlessly run and view output in VS Code.

📚 Supported File Types

  • Windows: .exe, .com, .bat, .cmd, .ps1, .msi, .vbs, .vbe, .js, .jse, .wsf, .wsh, .msc
  • macOS / Linux: .sh, .bash, .zsh, .fish, .command, .tool, .py, .rb, .pl, .php, .lua, .jar

📖 Usage

  1. Right-click on any supported file in the VS Code Explorer.
  2. Select Run File to execute normally.
  3. Select Run File as Admin to execute with elevated privileges.

⚙️ Commands

  • right-click-run-file.run: Run the selected file.
  • right-click-run-file.runAdmin: Run the selected file as Administrator.

💖 Support the Development

If you find this extension useful, consider buying me a coffee!

Donate with PayPal


🙏 Thank you for using Right Click Run File!

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