| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
⚠️ Version 2 includes breaking changes due to a new standardized syntax and improved shell autocompletion. See the changelog for details.
💥 The Swiss Army Knife for macOS – in your Terminal!
m-cli is a powerful command-line tool for macOS that enables you to control system functions, manage utilities, and tweak preferences – all from the Terminal.
Enjoying this tool? Consider supporting development ☕
brew install m-clibrew install rgcr/formulae/m-cliNote: When installed via Homebrew, shell autocompletion scripts are installed and configured automatically for Bash, Zsh, and Fish. No additional setup is needed.
curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/main/install.sh | bashEnsure that ${HOME}/.local/bin is in your $PATH. You can add it with:
export PATH="${HOME}/.local/bin:$PATH"Add the line above to your shell config file (e.g. ~/.bashrc, ~/.zshrc) for persistence.
To enable shell autocompletion for m, source the appropriate file based on your shell:
source ~/.local/opt/m-cli/completions/bash/mTo make it persistent, add the above line to your ~/.bashrc or ~/.bash_profile.
source ~/.local/opt/m-cli/completions/zsh/_mTo make it persistent, add the above line to your ~/.zshrc.
source ~/.local/opt/m-cli/completions/fish/m.fishTo make it persistent, add the line to ~/.config/fish/config.fish.
brew uninstall m-clim --uninstallExample:
m dock --helpairdrop • appearance • audio • battery • bluetooth • dir • disk • display • dns • dock fan • finder • firewall • flightmode • gatekeeper • group • hostname • hosts • info itunes • lock • music • network • nosleep • notificationcenter • ntp • permissions • powermode • printer restart • remotelogin • safeboot • screensaver • service • shutdown • sleep • timezone • touchbar trash • update • usb • user • volume • vpn • wallpaper • wifi
We ❤️ contributions!
If you found this useful, you might also enjoy:
iproute-mac — Native Go implementation of Linux iproute2 for macOS (ip, bridge & ss).
t-mux-manager — Lightweight tmux session and project manager written in Bash.
StickyShot — Screenshot tool with floating sticky preview windows for macOS.
Snape — A Severus Snippet Manager for macOS.
© Rogelio Cedillo – Licensed under the MIT License
| Back | FazBrowse Home | New Git URL |