rgcr/m-cli
rgcr/m-cli has 9,920 GitHub stars and 317 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-04 22:13 UTC. Last push 2026-06-02.
So werden diese Zahlen gemessen
Schweizer Taschenmesser für macOS
What you can do
- Manage system and admin tasks effortlessly
- No third-party dependencies
- Simple, non-intrusive installation
- Clean and safe – doesn’t modify your system unnecessarily
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- Aktualisierung verzögert
- in 1 month
- Aktualisierung verzögert
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original m-cli
⚠️ 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!
Overview
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.
Key Features:
- Manage system and admin tasks effortlessly
- No third-party dependencies
- Simple, non-intrusive installation
- Clean and safe – doesn’t modify your system unnecessarily
Support
Enjoying this tool? Consider supporting development ☕
Installation
Using Homebrew
brew install m-cli
Or if you want to have the latest version
brew install rgcr/formulae/m-cli
Note: When installed via Homebrew, shell autocompletion scripts are installed and configured automatically for Bash, Zsh, and Fish. No additional setup is needed.
Manual Installation
curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/main/install.sh | bash
Ensure 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.
Shell Autocompletion (Manual Installation)
To enable shell autocompletion for m, source the appropriate file based on your shell:
Bash
source ~/.local/opt/m-cli/completions/bash/m
To make it persistent, add the above line to your ~/.bashrc or ~/.bash_profile.
Zsh
source ~/.local/opt/m-cli/completions/zsh/_m
To make it persistent, add the above line to your ~/.zshrc.
Fish
source ~/.local/opt/m-cli/completions/fish/m.fish
To make it persistent, add the line to ~/.config/fish/config.fish.
Uninstallation
Using Homebrew
brew uninstall m-cli
Manual Uninstall
m --uninstall
Usage
- Run
mto display all available commands. - Run
m <command> --helpto see usage options for any specific command.
Example:
m dock --help
- Enjoy!
Available Commands
airdrop • 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
Notes
- Some
macoscommands needs to be executed withsudointernally, so it's recommended you havesudoprivileges. - The
trashcommand will not work unless your terminal (e.g.iTerm2,Terminal.app) has the necessary permissions to access the Trash folder. You can grant this permission inSystem Preferences > Security & Privacy > Privacy > Full Disk Access.
Contributing
We ❤️ contributions!
- Fork the repo
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push the branch:
git push origin my-new-feature - Open a Pull Request 🚀
Resources
🔗 More Projects
If you found this useful, you might also enjoy:
iproute-mac — Native Go implementation of Linux
iproute2for 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
Ähnliche Projekte entdecken
codecrafters-io/build-your-own-x
Meistere das Programmieren, indem du deine Lieblingstechnologien von Grund auf neu erschaffst.
560,008 Sternepublic-apis/public-apis
Eine gemeinschaftliche Liste kostenloser APIs
496,259 Sternemorluto/rea
Mit Agenten alles per Reverse Engineering untersuchen, vom Verhalten der Anwendung bis hin zu nativen Binärdateien.
432,874 Sterneopenclaw/openclaw
Die KI, die wirklich Dinge erledigt. Jedes Betriebssystem, jede Plattform. Auf die Hummer-Art. 🦞
393,952 Sterne