fresh mac setup

install.emin.ch

A single command turns a freshly unboxed Apple Silicon Mac into a working dev environment. Safe to re-run on any existing setup.

install.emin.ch — zsh
$
Apple Silicon Idempotent ~30 min unattended No npm-pipe-bash sketchiness

What you get

CLI tools
ripgrep fd gh stow ffmpeg xcodes aria2 pnpm node (via pnpm env) go claude codex codex-acp
Auth, set up for you
GitHub via gh auth login SSH via 1Password agent (Touch ID), public key uploaded to GitHub Claude Code OAuth Codex sign-in Apple ID for Xcode

Inside the script

  1. Sanity check.macOS, Apple Silicon, not root, not truncated.
  2. Xcode Command Line Tools.Triggers the GUI installer if missing.
  3. Homebrew.Installs and wires up brew shellenv.
  4. Clone the repo.HTTPS, so it works before any auth is set up.
  5. Brew bundle.Every tool and cask declared in the Brewfile.
  6. GitHub auth.Device-code login plus gh auth setup-git as credential helper.
  7. SSH via 1Password.Wires ~/.ssh/config to the 1Password SSH agent and uploads the public key (via op + gh) to your GitHub account.
  8. Stow.Symlinks zsh, git, and Ghostty configs into $HOME.
  9. Override stubs.Creates empty .gitconfig.local, .zshrc.local, config.local.
  10. Claude + Codex sign-in.Launches each CLI for interactive auth.
  11. Xcode.The long pole — xcodes install --latest --select.

What you still do by hand

The one thing the script can't do for you:
  • Sign in to apps with GUI-only auth (1Password, Brave sync)