| Crates.io | mac-cli |
| lib.rs | mac-cli |
| version | 0.1.0 |
| created_at | 2025-12-30 04:52:10.278304+00 |
| updated_at | 2025-12-30 04:52:10.278304+00 |
| description | A simple CLI tool to control your Mac (volume, brightness, Bluetooth, Apple Music, weather) |
| homepage | https://github.com/joonho3020/mac-cli |
| repository | https://github.com/joonho3020/mac-cli |
| max_upload_size | |
| id | 2012075 |
| size | 1,783,541 |
A simple command-line tool to control your Mac from the terminal.

cargo install mac-cli
git 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 75
Music 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 playlists
mac bluetooth
mac weather
mac weather "San Francisco"
mac weather "London, UK"
fzf (optional, for interactive playlist selection)Licensed under the Apache License, Version 2.0. See LICENSE for details.