macOS
brew install m-clilocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de m-cli pour les workflows d'agents IA.
installation
brew install m-clilocal Homebrew formula metadata
nix profile install nixpkgs#m-clinixpkgs package indexes · pkgs/by-name/m-/m-cli/package.nix · Source: api.github.com
aperçu
Swiss Army Knife for macOS
historique
m-cli is a shell-based macOS command-line utility that describes itself as a Swiss Army Knife for macOS in the terminal. It wraps many common system administration and preference tasks behind a single `m` command.
The public GitHub repository was created in July 2016 and is maintained as a small Unix-style command suite. Its README emphasizes macOS-only system control, no third-party dependencies, a simple manual install path, and Homebrew installation.
The project underwent a notable 2.0 syntax change: the changelog records a move from positional plugin subcommands such as `m bluetooth on` to option-based forms such as `m bluetooth --enable`, alongside generated shell completions.
m-cli has become a recognizable macOS package-manager utility: the repository shows thousands of GitHub stars and hundreds of forks, while the input package facts list both Homebrew and Nix packaging.
Its appeal is strongest among macOS users who prefer scriptable terminal access to system settings that are otherwise spread across System Settings, Apple tools, and small command-line utilities.
Users install it with Homebrew as `brew install m-cli` or manually with the upstream install script, then run `m` to list commands or `m <command> --help` for command-specific usage.
The command set covers macOS areas such as AirDrop, Bluetooth, display, DNS, Dock, Finder, firewall, Gatekeeper, network, power, printers, services, users, VPN, volume, wallpaper, and Wi-Fi. Some commands need sudo privileges or macOS privacy permissions.
For package-maintainer audiences, m-cli is an example of a Homebrew-friendly macOS wrapper that packages many native system toggles as small shell plugins rather than as a daemon or GUI app.
The 2.x syntax shift matters because it changed scripting compatibility while making completions easier to keep in sync with plugin help output.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
m | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:m-cli |
|---|---|
| Version | 2.0.9 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/m-cli |
| Page d'accueil | https://github.com/rgcr/m-cli |
| Dépôt | https://github.com/rgcr/m-cli |
| Docs amont | https://github.com/rgcr/m-cli#readme |
| Licence | MIT |
| Archive source | https://github.com/rgcr/m-cli/archive/refs/tags/v2.0.9.tar.gz |
| Dernière mise à jour | 2026-06-02T20:02:01Z |
| Pulse | updated |
| Bouteille | disponible (sur all) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | m-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
m-cli
nix profile install nixpkgs#m-clipiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.