Skip to content
Projects

About

Fast, DAG-parallel, autonomous macOS update orchestrator with a unified Bubble Tea terminal shell

Developer Tools

How these counts are measured

What 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

Original
macup app icon

macup

Update Homebrew, dev toolchains, editor extensions, and Mac apps in parallel — with silent Autopilot and offline rollback.

CI OpenSSF Scorecard Latest Release MIT License

Website · Docs · Changelog · Discussions · Feedback

macup v6.1.1 terminal walkthrough showing parallel macOS updates, 7-tab interactive report, Doctor self-check, Autopilot control plane, offline rollback, and adaptive themes
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 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 →
  • Interactive TUI + scriptable CLI: 7-tab terminal report with 6 adaptive themes (macup settings), plus --json, --md, --plain, --exit-code, <10ms local-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)

macup interactive 7-tab terminal report showing parallel macOS updates, attention triage, system health, and a 5-lane timeline
7-Tab Interactive Report (macup report) — Adaptive Dark/Light overview, KPI strip, Autopilot status & 5-lane timeline

macup Autopilot Control Plane with live 2x3 macOS environment guards and staged queue
Autopilot Control Plane (macup autopilot / P) — Mode toggle, live macOS guards & staged queue
macup Preferences and Theme Studio with 6 adaptive themes and live preview
Preferences & Theme Studio (macup settings / S) — 6 adaptive themes, icons & live preview
macup Live DAG execution with split-pane Step Log Inspector
Live DAG Execution — Split-pane Step Log Inspector & live fetch progress
macup interactive 5-lane Step Picker
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/:

Safety, Verification & Uninstall

  • macOS universal binary (arm64 & x86_64): Opt-in Touch ID sudo (macup touchid --enable) requires macOS 14 Sonoma+ on local non-SSH sessions and keeps password fallback.
  • Zero hidden daemons: Installing macup creates no background agent. ~/Library/LaunchAgents/dev.macup.agent.plist is created only when you opt into Autopilot, and the default prefetch mode is read-only (never installs software or prompts for sudo).
  • Explicit rollback & auto-apply scope: Rollback covers Homebrew formulae and eligible pure-.app casks — it does not roll back .pkg/sudo installers, Mac App Store apps, macOS updates, or toolchain managers (rustup, nvm, uv, etc.). Autonomous smart-apply skips 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_NOFOLLOW local state, codesign TeamIdentifier + CFBundleIdentifier continuity checks, DNS-validated public-HTTPS update feeds (check_sparkle_updates = false to disable), automatic secret redaction in logs/webhooks, and CI verification via govulncheck, CodeQL, OpenSSF Scorecard, Dependabot, and SHA-pinned workflows. See SECURITY.md for the full threat model and outbound endpoints.
  • macOS Gatekeeper transparency: Because macup is a free MIT project without a paid Apple Developer ID certificate yet, the Homebrew cask removes com.apple.quarantine during install. If you prefer zero pre-built binaries, build directly from source via go 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

Explore related projects

Loading…