Run a single command to update macOS software, Homebrew packages, Ruby gems, and npm packages all at once.
Use short Git shortcuts to create branches, undo commits, and open the current repo in a browser without typing full git commands.
Sync a local folder with a remote server or download files from an SSH host using one-liner commands.
Requires Homebrew and Git, the installer sets these up automatically if they are not already present.
Mac CLI is a command line tool for macOS that wraps common system tasks in short, memorable commands. Instead of looking up the exact terminal syntax to check your battery, flush your DNS cache, or see which ports are currently in use, you type a single mac command and it handles the details. When a command runs, it also prints the underlying system command it executed, which is intended to help you learn the actual macOS commands over time. The tool covers a broad range of categories. General system tasks include locking the screen, restarting, sleeping, shutting down, toggling hidden files, showing Bluetooth and Wi-Fi status, adding spacers to the Dock, and running a full update sweep that covers macOS software, Homebrew packages, Ruby gems, and npm packages in one step. Network utilities let you run a speed test, list active ports, and retrieve your local or public IP address. DNS utilities let you list, add, remove, and flush DNS servers. SSH management commands let you download files and folders from remote servers, sync local and remote directories using rsync, upload files, and list saved SSH credentials. Git shortcuts cover common operations like creating branches, renaming branches, removing branches locally or remotely, undoing the latest commit, viewing recent commit history, and opening the current repository in a browser. The README also lists commands for PHP, Node.js, Homebrew, Apache, Nginx, MySQL, MAMP, image processing, and file compression. The full command list continues beyond what the README excerpt shows. Commands are organized into plugins, and the tool is designed to accept new plugins for additional categories. Installation is a single curl or wget command that runs an install script. The installer sets up dependencies including Homebrew and Git if they are not already present and runs a configuration wizard on first launch. Updating and uninstalling follow the same one-command pattern.
← guarinogabriel on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.