macOS
brew install m-clilocal Homebrew formula metadata
brew
m-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install m-clilocal Homebrew formula metadata
nix profile install nixpkgs#m-clinixpkgs package indexes · pkgs/by-name/m-/m-cli/package.nix · ソース: api.github.com
概要
Swiss Army Knife for macOS
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
m | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:m-cli |
|---|---|
| バージョン | 2.0.9 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/m-cli |
| ホームページ | https://github.com/rgcr/m-cli |
| リポジトリ | https://github.com/rgcr/m-cli |
| 上流ドキュメント | https://github.com/rgcr/m-cli#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/rgcr/m-cli/archive/refs/tags/v2.0.9.tar.gz |
| 最終更新 | 2026-06-02T20:02:01Z |
| Pulse | updated |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
m-cli
nix profile install nixpkgs#m-cliソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.