macOS setup¶
Apple Silicon Macs. Tested on macOS 14+.
One-shot bootstrap¶
git clone --recursive https://github.com/Nishanth-Gobi/Dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.sh
install.sh will:
- Install Homebrew if missing.
brew bundlethe Brewfile.git submodule update --init --recursivefor zsh plugins.mkdir -p ~/.config.- Dry-run
stoweach module; abort on conflict. stow --restoweach module (idempotent).
Run order matters¶
Run install.sh before launching any app whose config it manages
(Aerospace, Kitty, Zed, etc.). If the app launches first, it creates a
default config in ~/.config/<app>/, which collides with stow.
If you hit a conflict:
# Move existing file aside
mv ~/.config/kitty/kitty.conf ~/.config/kitty/kitty.conf.bak
# Re-run install
./install.sh
Manual rerun for one module¶
Secrets¶
Anything machine-specific (API tokens, Java home, Android SDK) goes in
~/.config/zsh/host.zsh. That file is gitignored. .zshrc sources it
if present, skips silently otherwise.