Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MKBNew to Visual Studio Code? Get it now.
MKB

MKB

Pratik Priyanshu

|
10 installs
| (0) | Free
Write a wrong command in the terminal and you'll see. ;)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Terminal Sound Alert

Plays a funny audio clip every time you run a wrong or failed command in the VS Code terminal.

Features

  • Automatically detects failed terminal commands (non-zero exit codes)
  • Rotates between 5 different audio clips randomly
  • Never plays the same clip twice in a row
  • Works on Windows, macOS, and Linux
  • Zero configuration — just install and it works!

How It Works

Every time you type a command in the VS Code integrated terminal and it fails (returns a non-zero exit code), the extension picks a random audio clip and plays it. Simple as that.

Examples of Triggers

# These will trigger a sound alert:
blahblah          # command not found
git pushh         # typo in command
npm rn start      # wrong subcommand
python nofile.py  # file doesn't exist

Requirements

  • VS Code 1.93+ with Terminal Shell Integration enabled (on by default)
  • Windows: No extra setup needed
  • macOS: No extra setup needed (uses built-in afplay)
  • Linux: Needs ffplay, mpv, or paplay (install one if not present)

Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "Terminal Sound Alert"
  4. Click Install
  5. Done! Start typing wrong commands to hear the alerts.

Release Notes

0.0.1

  • Initial release
  • 5 built-in audio clips
  • Random rotation with no consecutive repeats
  • Cross-platform support (Windows, macOS, Linux)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft