Share via

Windows Terminal Beep Issue

MovelessMove-0585 230 Reputation points
2026-06-16T08:27:59.58+00:00

Hello!

  • I'm using PowerShell 7.6.2 on Windows 11.
  • However, I want to completely mute the beep sound in PowerShell, i.e., the Windows Terminal.
  • How can I do this? There's no direct solution in the terminal settings.
Windows for home | Windows 11 | Settings
0 comments No comments

Answer accepted by question author

AI answer

2026-06-16T08:28:15.7233333+00:00

To mute the beep in PowerShell 7.6.2 running in Windows Terminal, disable the bell both in Windows Terminal and in PSReadLine.

  1. In Windows Terminal, set the profile bell style to "none" so the terminal never reacts to BEL:
    • Open Windows Terminal settings (JSON or UI).
    • For the PowerShell profile, set:
           "bellStyle": "none"
      
    • This prevents Windows Terminal from playing any bell sound or visual indication when BEL is emitted.
  2. In PowerShell 7.6.2, configure PSReadLine not to beep on errors or attention conditions:
    • Run this in the PowerShell session:
           Set-PSReadLineOption -BellStyle None
      
    • To make it persistent, add the same command to the PowerShell profile script.

With bellStyle set to "none" in Windows Terminal and -BellStyle None in PSReadLine, the beep is fully muted for PowerShell in Windows Terminal.


References:

AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.