Automic VaultAutomic Vault

brew

m-cli mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für m-cli in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install m-cli

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#m-cli

nixpkgs package indexes · pkgs/by-name/m-/m-cli/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Swiss Army Knife for macOS

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2016: Public GitHub repository created
  • 2026: v2.0.9 released with restart and completion fixes
  • 2026: GitHub repository metadata shows roughly 9.9k stars and 318 forks

Related projects

  • Homebrew packages m-cli for macOS users who want the stable packaged command.
  • Nix also packages m-cli according to the supplied package-manager facts.
  • The upstream README points users to related macOS command-line projects such as iproute-mac.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
mcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version2.0.9
Manager aktualisiert2026-06-02
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv2.0.9

https://github.com/rgcr/m-cli

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:m-cli
Version2.0.9
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/m-cli
Homepagehttps://github.com/rgcr/m-cli
Repositoryhttps://github.com/rgcr/m-cli
Upstream-Dokumentationhttps://github.com/rgcr/m-cli#readme
LizenzMIT
Quellarchivhttps://github.com/rgcr/m-cli/archive/refs/tags/v2.0.9.tar.gz
Zuletzt aktualisiert2026-06-02T20:02:01Z
Pulseupdated
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namem-cli
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

m-cli

nix profile install nixpkgs#m-cli
  • normalized package name match
  • Abgeglichen nach: M Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/m-/m-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment