Install & First Run
Get running in 30 seconds with Homebrew and a read-only preview.
Automatic Updates
Silent background updates with 0 MB idle RAM and automatic rollback.
Commands & Config
Look up CLI commands, flags, config keys, work Mac checks, and security.
Install & First Run
Install the native universal macOS binary for Apple Silicon and Intel. Nothing runs in the background and no config file is required.
# 1. Install macup
brew install HMarzban/tap/macup
# 2. Preview what's outdated (read-only — changes nothing)
macup check
# 3. Run parallel updates and view the report
macup
go install github.com/HMarzban/macup/cmd/macup@latest
# Optional: install tab completions for your shell
macup completion install
git clone https://github.com/HMarzban/macup.git
cd macup
make test
make install
One universal binary
Works out of the box on Apple Silicon and Intel Macs with shell completions included.
Check safely first
Run macup check anytime to inspect available updates without modifying your Mac.
Run in parallel
Run macup to update everything at once and inspect results in the interactive report.
Want a guided setup for themes, terminal icons, Touch ID sudo, or background updates? Run macup init or open macup settings anytime.
Requirements, Touch ID & upgrading from v6.0
- Platform: macOS on Apple Silicon (
arm64) or Intel (x86_64). Opt-in Touch ID forsudo(macup touchid --enable) requires macOS 14 Sonoma+ and always keeps password fallback. - Upgrading existing installs: Run
macuporbrew upgrade --cask macup. All existing configs, rules, and schedules upgrade seamlessly with zero breaking changes. - Source builds on Apple Silicon: Always use
make installrather than overwriting~/.local/bin/macupin place so macOS code-signature caching stays healthy.
Everyday Usage
macup automatically detects what’s installed on your Mac and updates everything in parallel — skipping tools you don’t use and never interrupting open desktop apps.
What macup updates
Apps & Homebrew
Homebrew & Workbrew formulae and casks (open GUI apps wait until you’re ready), Mac App Store apps, macOS update notices, and unmanaged /Applications checks.
Languages & Toolchains
Node via nvm, Rust & Cargo, Python tools (uv, pipx), Bun, Go tools, pnpm, yarn, Composer, Deno, Flutter, mise, and asdf.
Editors & Shell
VS Code, Cursor, Windsurf, Antigravity, VSCodium, Neovim (lazy.nvim), Oh My Zsh, Antidote, Sheldon, Fisher, tmux plugins, and GitHub CLI extensions.
Containers & Cleanup
OrbStack, Docker Desktop, Colima, Rancher Desktop, Podman, Raycast, safe cache cleanup, Brewfile snapshots, and your own custom steps.
Using the terminal UI
macup -i
Choose specific lanes or quick presets (b Brew, t Toolchains, f Fast non-sudo) before running.
Live progress
Watch parallel steps complete in real time with split-pane logs on wide terminals and slow-download timers.
7-tab report
Review changes, upgrade waiting apps, adopt unmanaged apps, pin packages, or undo upgrades — with mouse or keyboard.
Every screen shows only the shortcuts that work right now at the bottom. To start, remember just five keys: 1–7 switch tabs, / filters the current view, P / S open Autopilot & Settings, ? shows help, and q exits.
All 25+ auto-detected tools & parallel engine details
- Homebrew & CLI extras: Homebrew / Workbrew formulae & casks (
--greedy-auto-updatesdefault, sliding-window concurrent downloads casks-first, batched formula upgrades), cache cleanup, Brew npm, Claude Code, and Supabase CLI. - Toolchains & editors: ETag-cached nvm (Node/npm), rustup (+ cargo-install-update), uv, pipx, bun, concurrent
proxy.golang.orgGo binaries (honoringGOPRIVATE+ undo hints), pnpm, yarn, gh extensions, composer, asdf, mise, deno, flutter, agy, gcloud, oh-my-zsh, antidote, sheldon, fisher, tmux (TPM), lazy.nvim, and VS Code / Cursor / Windsurf / Antigravity / VSCodium extensions. - System & unmanaged apps: Report-only macOS Software Update (with
BSI/CLTtags and opt-ininstall_macos_clt), Mac App Store viamas(skips Xcode by default; supportsignore_mas), and depth-2 scanning of/Applicationsand~/Applicationsusing Homebrew 7 JWS offline catalogs, Sparkle, and Electron update feeds. - Zero-fork performance engine: Uses an EWMA critical-path scheduler (
max_parallel_steps = 8,fetch_jobs = 6, automatic single transient retry), pure-Go binary/XML plist parsing (avoiding 50+plutilsubprocesses), age/size-gated cache pruning, andplan.jsonprefetch handoff from background runs.
Complete keyboard shortcut cheat sheet
| Shortcut | Action |
|---|---|
| 1–7 · Tab | Switch tabs (Overview, Changes, Attention, Steps, Logs, Apps, History) or click tabs directly |
| P · S · D · : · ? | Open Autopilot, Preferences & Theme Studio, 13-Check Doctor Overlay, Command Palette, or Help |
| / · Esc | Filter the active tab; Esc clears search, then selection, then returns to Overview |
| u · U | Upgrade focused waiting app (quit → update from cache → reopen) or apply all cached updates |
| z · Z | Snooze item (7 days or until next version) / toggle showing snoozed items |
| t · p | Cycle auto-policy (default → always-auto → manual-only) / pin or ignore package or app |
| m · b | Migrate deprecated formula to replacement / open Offline Rollback Inspector |
| Space · a · A | Multi-select unmanaged apps and adopt/update them into Homebrew Cask |
| r · R · d | Retry failed step(s) or rescan Apps; d toggles Changelog Diff in History |
| l · [ ] · e | Jump to step logs / cycle steps / open full redacted log in $PAGER |
| c · y · o · q | Copy Markdown report / copy fix command / reveal in Finder or open Software Update / quit |
Themes, brand icons & terminal icon setup
Run macup settings to live-preview 6 themes (cyberwarm, midnight, tokyo, gruvbox, catppuccin, mono) that automatically calibrate contrast to your terminal’s light or dark background, plus 6 brand icons and layout density controls. Run macup icons setup to switch between Nerd Font, standard Unicode, and 7-bit ASCII icons.
Automatic Updates (Autopilot)
Optional background updates using macOS’s native scheduler — 0 MB RAM when idle and zero macOS privacy popups. Nothing runs in the background until you turn it on.
off
Manual
No background checks. Updates happen only when you run macup.
prefetch
Default
Checks for updates and pre-downloads packages silently. Zero installs, zero sudo.
smart-apply
Automatic
Applies low-risk CLI updates and safe desktop apps 5 minutes after you quit them. Skips open apps, installers, and major jumps.
# Open the interactive Autopilot Control Plane (toggle modes & inspect live guards)
macup autopilot
# Or enable from the CLI directly (prefetch every 6 hours)
macup schedule install --mode prefetch --every 6h
# See why each pending package would be applied or held back (read-only)
macup daemon --explain
Automatically pauses when you’re busy
- Low battery or Low Power Mode: Waits when battery is below 40% or Low Power Mode is active (even while plugged in).
- Calls, screen shares & presentations: Stays silent whenever your camera, mic, Zoom/Meet, or Keynote is active.
- Hotspots & offline networks: Skips Personal Hotspots, metered connections, and the first 90 seconds after wake.
- Heavy load or tight disk space: Backs off during active builds, thermal throttling, or under 5 GB free disk space.
Under the hood: LaunchAgent, guard checks, autonomy rules & notifications
- Zero-RAM LaunchAgent: Installs a single
~/Library/LaunchAgents/dev.macup.agent.plistpointing to a stable symlink (/opt/homebrew/bin/macup), with 15-minute fast-tick checks, kernel single-instance locking, adaptive backoff (5m → 15m → 30m → 60m), and log rotation at 2 MiB. - No privacy prompts (TCC-free): Guard probes complete in ~15ms using standard macOS utilities (
pmset,ipconfig,scutil,ioreg,statfs) — never touching Calendar, Screen Recording, or Full Disk Access. - Fail-closed safety: Every step defaults to interactive-only so background runs never launch Docker, OrbStack, GUI apps, destructive cleanups, or custom shell hooks.
- Zero-spam notifications: Respects quiet hours (
22:00–08:00), deduplicates alerts by SHA-256 hash, and supportsactionable,critical,weekly, andoffpolicies.
Undo & Safety (Offline Rollback)
Every interactive run and Autopilot update automatically saves local backups for 7 days. If an upgrade breaks a CLI tool or desktop app, roll it back offline in one command.
macup rollback --last # Restore the most recent upgrade immediately
macup rollback <pkg> # Restore a specific formula or app (--force if open)
macup rollback --list # See all saved 7-day backups & quarantined packages
macup rollback --unquarantine <pkg> # Allow macup to retry a previously broken version
- Zero-cost instant backups: Prior Homebrew kegs stay preserved on disk and eligible desktop apps are cloned via instant APFS Copy-on-Write (taking virtually zero extra disk space).
- Automatic post-update verification: After upgrading,
macupchecks shared libraries, runs a quick crash test, and verifies Apple code-signing identity — rolling back automatically if anything fails. - 3-strike quarantine: Repeatedly broken versions are quarantined automatically so Autopilot won’t keep reinstalling them until upstream releases a newer version.
Under the hood: Cellar kegs, APFS clones & 4 automated health gates
- Homebrew Cellar preservation: Upgrades run with
HOMEBREW_NO_INSTALL_CLEANUP=1(for both core and tapped formulae) and restore offline by unlinking the broken version and relinking the preserved keg or keg-onlyopt/symlink. - APFS Copy-on-Write app backups: Pure-
.app, non-sudo, user-writable casks across/Applications,~/Applications, and quotedHOMEBREW_CASK_OPTS --appdirare snapshotted via/bin/cp -cRp --with symlink containment checks. - 4 health gates: (1) Mach-O dylib check with pure-Go
LC_RPATHresolution (@rpath,@loader_path,@executable_path), (2) isolated 3-second CLI crash/dyld smoke test, (3) fail-closedcodesign --verify, and (4) TCC-freecodesign -dvTeamIdentifier+CFBundleIdentifiercontinuity guard catching unexpected signing-identity swaps (team-id!). - Interactive snooze parity: Both manual runs and Autopilot respect snoozed items in
rules.json(pass--include-snoozedto override for a single run).
Prompts, Menu Bar & Automation
macup status reads local cached state in under 1ms with zero network calls — ideal for shell prompts, zero-RAM menu-bar widgets, and scripts.
# Starship (~/.config/starship.toml)
[custom.macup]
command = "macup status --prompt"
when = "test -s ~/.local/share/macup/pending.json"
format = "[$output]($style) "
style = "bold yellow"
# Zsh (~/.zshrc) — prompt badge + optional 1-line login summary
macup_badge() {
local b="$(macup status --prompt 2>/dev/null)"
[[ -n "$b" ]] && echo " %F{yellow}${b}%f"
}
macup status --greeting 2>/dev/null
SwiftBar
Copy macup.15m.sh into your SwiftBar plugins folder. Script ↗
SketchyBar
Attach sketchybar_macup.sh with update_freq=300. Script ↗
Raycast
Add raycast-macup-status.sh to Script Commands. Script ↗
Frozen macup status --json schema (schema_version: 2)
{
"schema_version": 2,
"pending_count": 3,
"critical_count": 0,
"snoozed_count": 1,
"severity": "warn",
"prompt_badge": "↑3",
"headline": "3 updates available (2 cached)",
"mode": "smart-apply",
"counts": { "formulae": 2, "casks": 1, "apps": 0, "macos": 0, "clt": 0, "deprecated": 0, "snoozed": 1, "prefetched": 2, "staged": 1, "auto_applied": 4 },
"items": []
}
# Exit 0 = clean · Exit 10 = updates available · Exit 1 = error
macup check --exit-code --plain
# Machine-readable audit & Markdown reports
macup audit --deep --json
macup report --md > workstation-report.md
Reference
Look up any CLI command, configuration option, corporate Mac safeguard, or security detail — or press / to jump straight to a keyword.
| Command | What it does |
|---|---|
macup / macup run | Run parallel updates across all detected ecosystems and open the 7-tab report |
macup -i | Choose which lanes or steps to run before starting |
macup check [--exit-code] | Preview available updates read-only (--exit-code exits 0 clean, 10 pending, 1 error) |
macup report [N] | Re-open the 7-tab report for run #N (default latest) |
macup status [--prompt|--greeting|--json] | Instant <1ms summary, shell badge, 1-line greeting, or schema_version: 2 JSON |
macup autopilot [mode|pause|resume|run-now] | Interactive Autopilot Control Plane (off, prefetch, smart-apply) |
macup rollback [--list|<pkg>|--last|--prune|--unquarantine] | Inspect or restore offline 7-day backups (pass --force if app is running) |
macup schedule [status|install|pause|resume|uninstall|run-now] | Manage the background LaunchAgent (--mode, --every 6h, --at HH:MM) |
macup daemon [--mode ...|--explain|--force] | Run one background pass or preview policy decisions with --explain |
macup audit [--deep] | Find unmanaged apps (--deep adds deprecated Brew, Rosetta apps & Go tools, orphans, stale nvm) |
macup adopt [cask...] [--all|--force|--dry-run] | Move unmanaged /Applications apps under Homebrew Cask management |
macup pin / unpin [--list|--app|--go|--mas] <pkg...> | Pin or ignore formulae, casks, apps, Go tools, or App Store IDs (--list shows all rules) |
macup diff [A] [B] [--since 7d] | See a combined changelog across past runs or a time window (24h, 7d, 30d) |
macup snapshot [diff|list] | Export snapshot.json + Brewfile or diff snapshots to spot drift |
macup history / providers / list | Show past runs, detected providers, or active execution steps |
macup init | Guided first-run setup (config, icons, completions, Touch ID, optional schedule) |
macup settings [theme|brand|icons|density|width|font|show] | Live-preview Preferences & Theme Studio (syncs Autopilot changes to LaunchAgent) |
macup icons [status|preview|setup] [--mode ...] | Test and set Nerd Font, Unicode, or ASCII terminal icons |
macup doctor | Run 13-check environment, PATH, corporate proxy, Brew, and daemon diagnostics |
macup config [show|init|edit|path] | Inspect, create, or edit ~/.config/macup/config.toml with TOML validation |
macup touchid [--enable|--disable] | Check, enable, or safely disable Touch ID for sudo in /etc/pam.d/sudo_local (macOS 14+) |
macup completion [zsh|bash|fish|install] | Print or install native shell tab completions |
Global flags & output modes (10)
| Flag | Behavior |
|---|---|
-i, --interactive | Open lane-grouped Step Picker before running |
-n, --dry-run | Preview available updates without making changes |
--only LIST | Run only matching step numbers, IDs, or names (e.g. --only brew,rust,go-tools) |
--include-snoozed | Temporarily bypass active rules.json snoozes for this run |
--exit-code | For macup check: exit 0 clean, 10 updates available, or 1 error |
--explain | Explain per-package Autopilot risk tiers & tags without modifying anything |
--icons MODE | Override icon tier for this run: auto, nerd, unicode, or ascii |
--json · --md · --plain | Structured JSON, GitHub Markdown, or pure 7-bit ASCII (zero ANSI color codes) |
--full · --compact · --stay | Static card layout overrides and interactive report exit behavior (--no-stay) |
-v, --verbose · --serial | Stream raw command output directly or disable parallel execution |
Most users never need to edit a file — use macup settings or macup pin. When you want full control, edit ~/.config/macup/config.toml with macup config edit (validated automatically on save).
# Appearance
theme = "cyberwarm" # cyberwarm | midnight | tokyo | gruvbox | catppuccin | mono
# Safety & Exclusions
defer_running_apps = true # never kill open GUI apps mid-update
ignore_casks = ["some-pinned-app"] # also managed via `macup pin`
[schedule]
mode = "prefetch" # "off" | "prefetch" | "smart-apply"
interval_hours = 6 # check every 6 hours (0 MB idle RAM)
node_channel = "lts" # "lts" | "current"
nvm_prune_old = false
greedy_casks = "auto-updates" # "auto-updates" (default) | "all" | "none"
update_mas_xcode = false # set true to upgrade Xcode via App Store
report_macos = true # report-only, never installs OS updates
install_macos_clt = false # opt-in: install rebootless Command Line Tools
auto_discover_ecosystems = true
fetch_jobs = 6 # parallel Homebrew downloads (casks first)
max_parallel_steps = 8 # max concurrent steps
batch_brew_formulae = true # single formula batch with per-package retry
stall_sec = 120 # silent-hang timeout in seconds (0 disables)
prefer_touchid = true # Touch ID first, password fallback
defer_running_apps = true
defer_major_casks = false # opt-in: hold major GUI cask jumps for review
auto_retry_transient = true
auto_remove_orphans = false # opt-in: run 'brew autoremove' in cleanup
auto_snapshot = true # archive snapshot.json + Brewfile after runs
theme = "cyberwarm"
brand_icon = "sparkle" # sparkle | bolt | rocket | fire | apple | terminal
icons = "auto" # auto | nerd | unicode | ascii
ui_density = "comfortable" # compact | comfortable | spacious
max_width = 0 # 0 = full terminal width, or 80..220
disable_steps = []
ignore_casks = []
ignore_go_tools = []
ignore_apps = []
ignore_mas = []
[schedule]
mode = "prefetch" # "off" | "prefetch" | "smart-apply"
interval_hours = 6 # or set hour = 8, minute = 30 for daily schedule
hour = -1
minute = 0
min_battery_pct = 40
allow_low_power = false # respect Low Power Mode even on AC
min_free_disk_gb = 5
skip_on_metered = true
skip_during_calls = true
auto_apply_major = false
app_quit_grace_min = 5 # wait 5m after app quit before auto-apply
rollback_retention_days = 7
notify_policy = "actionable" # "actionable" | "critical" | "weekly" | "off"
quiet_start = "22:00"
quiet_end = "08:00"
[hooks]
pre_run = "" # shell command before DAG run
post_run = "" # env: MACUP_RESULT, MACUP_CHANGES, MACUP_LOG
on_failure = "" # runs when any step fails
webhook_url = "" # https:// only (public IP validated, redirects off)
webhook_format = "auto" # auto | json | slack | discord | ntfy | pushover
webhook_format = "auto" detects Slack, Discord, ntfy, and Pushover automatically. Pushover is host-locked to api.pushover.net, ntfy headers are ASCII-sanitized, and webhook secrets are scrubbed from logs and errors.
[[custom_steps]]
id = "my-cli"
name = "My Custom CLI"
lane = "toolchains" # brew | toolchains | system | services
requires = ["my-cli"] # skip cleanly if binary isn't on PATH
interval = "7d" # optional minimum cadence ("24h", "7d")
check_cmd = "command -v my-cli"
version_cmd = "my-cli --version"
update_cmd = "my-cli self-update"
fix_hint = "my-cli self-update"
timeout_sec = 120
Workbrew & MDM Protection
Automatically honors Workbrew wrappers (HOMEBREW_FORCE_BREW_WRAPPER / /opt/workbrew/bin/brew) and protects Jamf/Kandji root-owned apps from auto-upgrade or cask adoption.
macOS Version Compatibility Guard
Checks local Homebrew depends_on :macos metadata upfront (Sequoia 15, Tahoe 26, Golden Gate 27) so incompatible apps are skipped before downloading.
Actionable Error Triage
Recognizes SHA-256 mismatches, Cloudflare/GitHub HTTP 403 rate limits, ghcr.io errors, and App Store sign-in issues — surfacing exact recovery commands.
Deep Hygiene & Rosetta Audit
macup audit --deep flags deprecated Brew packages, Rosetta x86_64 apps and Go tools (with ARM64 cask hints), orphaned leaves, and stale Node versions.
macup doctor (or press D anywhere inside macup report) to verify PATH shadowing, dual Apple Silicon + Intel Brew installs, corporate TLS proxies, and LaunchAgent health in under a second.
All 13 checks in macup doctor
- Binary & versionExecutable path, version, commit hash, and build provenance.
- Config (config.toml)TOML syntax validation and active policy summary.
- Touch ID for sudoVerifies
pam_tid.soin/etc/pam.d/sudo_localon macOS 14+. - PATH & completionsChecks
$PATHreachability and Zsh/Bash/Fish completion files. - Homebrew & CaskroomWorkbrew wrapper, dual Apple Silicon + Intel Brew, and Caskroom health.
- Container engineOrbStack, Docker Desktop, Colima, Rancher Desktop, Podman, or CLI.
- State & snapshotProbes
flocklocks safely, file permissions, and snapshot archive. - Unmanaged appsDepth-2 unmanaged
/Applications&~/Applications+ MDM count. - Background scheduleLaunchAgent installation, mode, guard state, and next run time.
- Brew hygieneDeprecated or disabled installed Homebrew packages.
- Terminal & iconsTerminal emulator detection, active icon tier, and Nerd Fonts.
- PATH shadowingFlags duplicate shadowed binaries across
$PATH. - Corporate TLS / ProxyRead-only corporate proxy/TLS diagnostics with
System.keychainPEM guidance.
Zero telemetry
The macup CLI collects zero telemetry, stores no passwords, and scrubs secrets across logs and webhooks. (This site uses cookie-free GoatCounter pageviews only.)
Zero hidden daemons
No background agent is created on install — Autopilot runs only when you opt in.
Zero privacy popups
Never triggers Full Disk Access, Calendar, or Screen Recording TCC permission dialogs.
Execution, filesystem & supply-chain hardening
- Pinned system binaries: Invokes SIP-protected macOS binaries by absolute path (
/usr/bin/sudo,/usr/bin/osascript,/bin/launchctl,/usr/bin/codesign), rejects relative/CWDPATHentries, and passes--option terminators before operands. - Hardened local storage: Uses
0700directories,0600files (0444 root:wheelatomic write for Touch IDsudo_local),O_NOFOLLOWsymlink checks, mutex-serialized state updates, and kernelFlocklocks. - Network, output & supply-chain defenses: Public-IP DNS-validated HTTPS clients (blocking loopback/private/cloud-metadata SSRF), fuzz-tested bounded plist/Mach-O parsers, unconditional ANSI/OSC terminal sanitization, Markdown escaping,
govulncheck+ CodeQL Go SAST + OpenSSF Scorecard + Dependabot, and Node 24 SHA-pinned releases compiled on patched Go1.26.xwith SHA-256 checksums and SLSA Build Provenance (gh attestation verify).
Exact outbound network endpoints (6)
| Endpoint | When contacted & how to control |
|---|---|
https://formulae.brew.sh | HEAD reachability check in Autopilot guards; read-only TLS check in doctor only when a proxy/agent is detected. |
nodejs.org & registry.npmjs.org | ETag-cached check, only when nvm / npm is installed. |
https://proxy.golang.org | Only for public Go tools; strictly honors GOPRIVATE / GONOPROXY / GONOSUMDB. |
| App Sparkle / Electron Feeds | Public HTTPS feeds declared by unmanaged apps (disable with check_sparkle_updates = false). |
Optional hooks.webhook_url | Only if configured by you (HTTPS public IP only; Pushover host-locked to api.pushover.net). |
| Installed Package Managers | Standard registries contacted directly by tools you run (Homebrew, rustup, uv, pipx, bun, mas). |
Local runtime files & permissions (4)
| Path | Contents |
|---|---|
~/.config/macup/config.toml | User settings, policies, exclusions, hooks & custom steps (0700 / 0600) |
~/.local/share/macup/ | Run history, pending.json, rules.json, rollbacks/, snapshots/, Brewfile, last-report.md |
~/Library/Logs/macup/ | Redacted run logs and auto-rotated daemon.log (> 2 MiB) |
~/Library/LaunchAgents/dev.macup.agent.plist | Created only when you explicitly turn on Autopilot |
No matching documentation
Try one of these common topics or clear the search query: