Modifying this control will update this page automatically

Set an audio or visual alert in Terminal on Mac
Some messages and commands produce an alert in Terminal. You can select a visual alert that makes the Terminal window blink, or an audible alert that makes a sound.
In the Terminal app
on your Mac, choose Terminal > Preferences, then click Profiles.
In the profiles list on the left, select a profile.
Click Advanced.
Under Bell, select the type of alert you want.