Command: volume

Manage the system's output volume.

Usage

Usage: m volume [OPTIONS] [ARGUMENTS]

Description: Manage the system volume on macOS from the command line

Options:
  --help         Show this help message and exit
  --set LEVEL    Set the volume to LEVEL (0-100),
  --mute         Mute the system volume
  --unmute       Unmute the system volume

Examples

Check Current Volume

Running the command without any arguments displays the current volume level and mute status.

m volume
# Output: Vol: 75 [Unmuted]

Set Volume Level

Use the --set option to change the volume to a specific level between 0 and 100.

m volume --set 50

Mute and Unmute

Quickly mute or unmute the system audio.

# Mute the volume
m volume --mute

# Unmute the volume
m volume --unmute