Mac Setup

Automated macOS development environment setup using Ansible

Terminal
$ bash -c "$(curl -fsSL https://raw.githubusercontent.com/sujeet-pro/mac-setup/main/bootstrap-remote.sh)"

One Command Setup

Single command bootstraps a complete macOS dev environment from scratch — Xcode tools, Homebrew, Ansible, packages, configs, and system defaults.

Fully Idempotent

Safe to re-run anytime. Installed tools are skipped, broken symlinks are fixed, and unmanaged packages are flagged for review.

Git-Synced Configs

All configs are symlinked from the repo. Edit locally, commit, push — another machine just needs git pull and make update.

Work & Personal Separation

Directory-based git config with conditional includes. Work repos use work email, personal repos use personal email. Mise files are auto-ignored in work repos.

Modern CLI Toolchain

Rust-based replacements for common tools — eza, bat, ripgrep, zoxide, starship, fzf, atuin — all pre-configured with sensible defaults.

Cleanup Detection

Automatically detects packages installed outside the repo and offers to track them or remove them, keeping your system and repo in sync.