A simple command-line tool to control your Mac from the terminal.
- Volume Control
- Brightness Control
- Apple Music: Control playback, navigate tracks, and manage playlists
- Bluetooth: List devices
- Weather: Get current weather for any location
cargo install mac-cligit clone https://github.com/joonho3020/mac-cli.git
cd mac-cli
cargo install --path .The binary is called mac. Run mac --help to see all available commands.
# Get current brightness
mac brightness
# Set brightness to 50%
mac brightness 50# Get current volume
mac volume
# Set volume to 75%
mac volume 75Music control inspired by appleMusic-cli-player.
mac music play
mac music pause
mac music next
mac music previous
mac music current
mac music playlists --list
mac music playlists "My Playlist"
mac music playlistsmac bluetoothmac weather
mac weather "San Francisco"
mac weather "London, UK"- Rust 1.70+ (for building from source)
fzf(optional, for interactive playlist selection)
Licensed under the Apache License, Version 2.0. See LICENSE for details.
