Skip to content

Latest commit

 

History

History
86 lines (56 loc) · 1.59 KB

bootstrap.md

File metadata and controls

86 lines (56 loc) · 1.59 KB

Bootstrap

Policy

Bootstrap must be dry-run first and idempotent.

Required modes:

--help
--dry-run
--apply
--status

macOS priority

  1. Homebrew
  2. uv and npm global tools
  3. mas

macOS first pass

brew bundle check --file packages/Brewfile
brew bundle install --file packages/Brewfile
npm install -g $(grep -vE '^\s*(#|$)' packages/npm-global.txt)
grep -vE '^\s*(#|$)' packages/uv-tools.txt | xargs -n1 uv tool install

On macOS, packages/Brewfile now includes Homebrew bash. After install, keep the login shell aligned manually if desired:

brew --prefix bash
chsh -s "$(brew --prefix)/bin/bash"

If $(brew --prefix)/bin/bash is not already listed in /etc/shells, add it manually before using chsh.

System update settings are documented separately in docs/macos.md:

System Settings > General > Software Update > Automatic Updates (i)

Default script must only print this unless --apply.

VS Code extensions are tracked in packages/vscode-extensions.txt. Install them manually or through a future guarded bootstrap helper:

grep -vE '^\s*(#|$)' packages/vscode-extensions.txt | xargs -n1 code --install-extension

Docker

macOS uses Docker Desktop.

Checks:

docker --version
docker compose version

Do not auto-login to Docker Hub.

Do not write ~/.docker/config.json.

Tailscale

Checks:

tailscale version
tailscale status

Do not run tailscale up automatically.

Do not write auth keys.

Linux/Raspberry Pi

Keep package install separate from service startup.

Docker/Tailscale login and service auth remain manual.