HMarzban/macup
About
Fast, DAG-parallel, autonomous macOS update orchestrator with a unified Bubble Tea terminal shell
Developer ToolsWhat you can do
- Parallel updates across your stack: Updates Homebrew (or Workbrew), language toolchains, editor extensions, Mac App Store, and container tooling concurrently in one pass. — Supported tools →
- Opt-in launchd Autopilot: Runs on a schedule with no persistent daemon; skips low battery, Low Power Mode, metered networks, active calls, or heavy builds without triggering macOS privacy (TCC) prompts. — Autopilot guide →
- Safe upgrades & offline rollback: Defers running GUI apps, skips MDM/root-owned and incompatible macOS casks, keeps 7-day Cellar kegs and APFS Copy-on-Write .app backups, and rolls back failed binary or codesign checks automatically. — Rollback guide →
- Corporate Mac ready: Respects Workbrew wrappers, protects MDM-managed apps, triages proxy/403/SHA-256 failures, and includes a 13-check macup doctor. — Work Macs & Doctor →
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalmacup
Update Homebrew, dev toolchains, editor extensions, and Mac apps in parallel — with silent Autopilot and offline rollback.
Website · Docs · Changelog · Discussions · Feedback
22-second walkthrough: parallel updates, 7-tab report, Doctor checks, Autopilot guards, and offline rollback · Watch full-HD MP4
Quickstart
# 1. Install the universal macOS cask + Zsh, Bash, and Fish completions
brew install HMarzban/tap/macup
# 2. Preview available updates (read-only — changes nothing)
macup check
# 3. Run parallel updates and review the 7-tab report
macup
Run macup init for guided first-run setup, or install from source with Go 1.26+: go install github.com/HMarzban/macup/cmd/macup@latest. See Install & First Run for source builds, completions, and Touch ID sudo.
Highlights
- Parallel updates across your stack: Updates Homebrew (or Workbrew), language toolchains, editor extensions, Mac App Store, and container tooling concurrently in one pass. — Supported tools →
- Opt-in
launchdAutopilot: Runs on a schedule with no persistent daemon; skips low battery, Low Power Mode, metered networks, active calls, or heavy builds without triggering macOS privacy (TCC) prompts. — Autopilot guide → - Safe upgrades & offline rollback: Defers running GUI apps, skips MDM/root-owned and incompatible macOS casks, keeps 7-day Cellar kegs and APFS Copy-on-Write
.appbackups, and rolls back failed binary orcodesignchecks automatically. — Rollback guide → - Corporate Mac ready: Respects Workbrew wrappers, protects MDM-managed apps, triages proxy/403/SHA-256 failures, and includes a 13-check
macup doctor. — Work Macs & Doctor → - Interactive TUI + scriptable CLI: 7-tab terminal report with 6 adaptive themes (
macup settings), plus--json,--md,--plain,--exit-code,<10mslocal-cache prompt badges, and SwiftBar/SketchyBar/Raycast scripts. — Integrations →
Why macup?
| Capability | macup |
brew upgrade |
topgrade |
|---|---|---|---|
| Scope | macOS: Brew, toolchains, editors, MAS, /Applications, services |
Homebrew only | Cross-platform packages & tools |
| Execution | 5-lane parallel DAG | Sequential upgrades | Sequential steps |
| Background mode | Opt-in launchd Autopilot + TCC-free macOS guards |
None built-in (external cron/launchd) |
None built-in (external cron/launchd) |
| Rollback | Offline 7d Cellar kegs + APFS CoW .app backups + health gates |
Manual reinstall | None |
| Running GUI apps | Defers open casks; applies after quit | Can interrupt open apps | Delegates to brew |
| UI & scripting | 7-tab Bubble Tea TUI + --json / --md / --plain |
Plain stdout | Plain stdout |
What It Updates
Optional ecosystems activate automatically only when installed on your Mac — see the full provider list.
| Group | Auto-Detected Tools |
|---|---|
| Apps & Homebrew | Homebrew / Workbrew formulae & casks, Mac App Store (mas, skips Xcode by default), macOS Software Update (report-only; opt-in CLT), unmanaged /Applications & ~/Applications audit (Brew catalog, Sparkle, Electron) |
| Languages & Toolchains | nvm (Node/npm), rustup (+ cargo-update), uv, pipx, bun, Go ($GOBIN), plus auto-detected pnpm, yarn, gh extensions, composer, asdf, mise, deno, flutter, gcloud, Claude Code, Supabase CLI |
| Editors & Shell | VS Code, VS Code Insiders, Cursor, Windsurf, VSCodium, lazy.nvim, tmux (TPM), oh-my-zsh, antidote, sheldon, fisher |
| Containers & Cleanup | OrbStack, Docker Desktop, Colima, Rancher Desktop, Podman, Raycast, cache housekeeping, Brewfile snapshots, custom [[custom_steps]] |
Everyday Workflows
# Pick specific lanes or run only selected steps
macup -i
macup --only brew,rust,go-tools
# Configure silent Autopilot and inspect why packages are applied or held
macup autopilot
macup daemon --explain
# Inspect rollback snapshots or restore the last upgrade offline
macup rollback --list
macup rollback --last
# Audit unmanaged /Applications, Rosetta x86_64 binaries & drift
macup audit --deep
macup diff --since 7d
# Machine-readable output for scripts, CI & menu-bar widgets
macup check --exit-code # 0 = clean, 10 = updates available, 1 = error
macup status --json # stable JSON schema (schema_version: 2)
Browse all 22 commands, flags, and TUI shortcuts in the CLI Reference and TUI Guide.
Screenshots (Dark/Light Report, Autopilot, Theme Studio, Live DAG, Step Picker)
7-Tab Interactive Report (macup report) — Adaptive Dark/Light overview, KPI strip, Autopilot status & 5-lane timeline
Autopilot Control Plane ( macup autopilot / P) — Mode toggle, live macOS guards & staged queue
|
Preferences & Theme Studio ( macup settings / S) — 6 adaptive themes, icons & live preview
|
Live DAG Execution — Split-pane Step Log Inspector & live fetch progress |
Interactive Step Picker ( macup -i) — 5-lane selection, presets, sudo badges & ETA
|
Documentation
Full guides, searchable CLI tables, and config.toml examples live at hmarzban.github.io/macup/docs/:
- Quickstart & Installation — Homebrew, Go 1.26+, source builds, completions, and Touch ID
sudo - Autopilot & Background Guards —
prefetchvssmart-apply, quiet hours, and macOS guard thresholds - Offline Rollback & Quarantine — Cellar kegs, APFS CoW
.apprestores, and health/signing gates - Prompts, Menu Bar & Webhooks — Starship, Zsh, SwiftBar / SketchyBar / Raycast, and Slack/Discord/ntfy/Pushover
- CLI Flags &
config.toml— Interactive command filter, starter config, and[[custom_steps]] - Work Macs & 13 Doctor Checks — Workbrew, MDM protection, corporate proxies, and
$PATHdiagnostics
Safety, Verification & Uninstall
- macOS universal binary (
arm64&x86_64): Opt-in Touch IDsudo(macup touchid --enable) requires macOS 14 Sonoma+ on local non-SSH sessions and keeps password fallback. - Zero hidden daemons: Installing
macupcreates no background agent.~/Library/LaunchAgents/dev.macup.agent.plistis created only when you opt into Autopilot, and the defaultprefetchmode is read-only (never installs software or prompts forsudo). - Explicit rollback & auto-apply scope: Rollback covers Homebrew formulae and eligible pure-
.appcasks — it does not roll back.pkg/sudo installers, Mac App Store apps, macOS updates, or toolchain managers (rustup,nvm,uv, etc.). Autonomoussmart-applyskips open GUI apps,.pkg/sudo casks, MDM/root-owned apps, major/critical-runtime bumps, and[[custom_steps]]. - Privacy & verifiable security controls: Zero CLI telemetry and zero stored credentials; SIP-pinned Apple binary paths,
--option terminators,0700/0600+O_NOFOLLOWlocal state,codesignTeamIdentifier+CFBundleIdentifiercontinuity checks, DNS-validated public-HTTPS update feeds (check_sparkle_updates = falseto disable), automatic secret redaction in logs/webhooks, and CI verification viagovulncheck, CodeQL, OpenSSF Scorecard, Dependabot, and SHA-pinned workflows. See SECURITY.md for the full threat model and outbound endpoints. - macOS Gatekeeper transparency: Because
macupis a free MIT project without a paid Apple Developer ID certificate yet, the Homebrew cask removescom.apple.quarantineduring install. If you prefer zero pre-built binaries, build directly from source viago install github.com/HMarzban/macup/cmd/macup@latest.
Verify release binaries & clean uninstall
Verify Release Binaries
Tagged releases are built in GitHub Actions with CGO_ENABLED=0 -trimpath -buildid= on the latest patched Go 1.26.x toolchain and publish SHA-256 checksums.txt plus SLSA Build Provenance attestations (v6.1.1+):
# Verify tarball SHA-256 against checksums.txt
shasum -a 256 -c checksums.txt --ignore-missing
# Verify SLSA Build Provenance attestation
gh attestation verify macup-v6.1.1-darwin-all.tar.gz --repo HMarzban/macup
# Inspect every compiled-in Go module directly from the installed binary
go version -m "$(command -v macup)"
Clean Uninstall (Zero Residue)
# 1. Remove optional Autopilot LaunchAgent and Touch ID sudo entry (safe no-ops if never enabled)
macup schedule uninstall
macup touchid --disable
# 2. Uninstall the cask, optional tap, and local config/state/logs
brew uninstall --cask macup
brew untap HMarzban/tap
rm -rf ~/.config/macup ~/.local/share/macup ~/Library/Logs/macup
Contributing & License
- Contributing & Development: See CONTRIBUTING.md for
maketargets, tests, and local Apple Silicon install instructions (make install), plus CODE_OF_CONDUCT.md and AGENTS.md. - License: MIT © 2026 HMarzban
Explore related projects
Loading…