This repo is intended to let me bootstrap a new machine quickly:
- Install apps and CLI tools (Homebrew Bundle on macOS; optional on Linux).
- Symlink dotfiles into place (GNU Stow).
./install.shOr (Finder): double-click bootstrap.command.
That will:
- Install everything in
Brewfile(brew bundle --no-upgradeby default) - Ensure
oh-my-zshis installed in~/.oh-my-zsh - Link dotfiles into
$HOMEusingstow(packages:zsh/,git/,nvim/,neofetch/,zed/)
If you already have dotfiles and want to move them aside automatically:
./bin/dotfiles link --backupRun a non-destructive sanity check:
./bin/dotfiles doctorIf you prefer make:
make bootstrap
make link-backup
make brew-sync
make lint
make test./bin/dotfiles apt install
./bin/dotfiles linkIf you install Linuxbrew separately, you can also run:
./bin/dotfiles brew installTo merge what is currently installed via brew into Brewfile (without deleting existing entries):
./bin/dotfiles brew syncTo record currently-installed versions (audit trail):
./bin/dotfiles brew snapshotTo uninstall anything not listed in the Brewfile (destructive):
./bin/dotfiles brew pruneBrewfile: apps + CLI tools (source of truth for macOS installs)zsh/,git/,nvim/,neofetch/,zed/: GNU Stow packages that mirror the target paths under$HOME
~/.zshrc.local~/.zsh_aliases.local~/.config/nvim/lua/local.lua