Personal dotfiles and setup scripts. Clone this repository to ~/.dotfiles before running the installer.
Run the interactive installer:
cd ~/.dotfiles
./install.shInstall specific modules:
./install.sh git zshrc vim nvim gpgInstall modules:
brew(macOS)gitdircolorszshrcemacsvimnvimtmuxgpgmbsynciterm2(macOS)
Install Homebrew first if this is a fresh macOS machine:
/bin/bash -c "$(curl -fsSL https://github.com/ghraw/Homebrew/install/HEAD/install.sh)"Check the base Brewfile plus every Brewfile.* profile except Brewfile.lock.json:
./install.sh brewInstall missing entries from the combined Brewfile profiles:
./install.sh brew --yesCheck or install only the base Brewfile:
./install.sh brew-base
./install.sh brew-base --yesPreview cleanup against the combined Brewfile profiles, then apply it after reviewing the output:
./install.sh brew-cleanup
./install.sh brew-cleanup --yesPreview and apply managed upgrades. The upgrade command also handles managed Go tools, npm packages, uv tools, Krew plugins, and VSCode/Cursor extensions declared in the Brewfile profiles.
./install.sh brew-upgrade
./install.sh brew-upgrade --yesInstall or remove the weekly macOS LaunchAgent for scheduled upgrades:
./install.sh brew-schedule
./install.sh brew-schedule --yes
./install.sh brew-unschedule
./install.sh brew-unschedule --yesRun the smoke test through bash because the file is intentionally tracked without the executable bit:
bash tests/install-smoke.shLint the shell scripts:
shellcheck install.sh tests/install-smoke.sh- Configure the powerlevel10k theme:
p10k configure - Install the DejaVu Sans font.
- Restore
~/.password-storeand~/notes/orgas needed. - Import autojump history into zoxide once:
zoxide import --from autojump ~/Library/autojump/autojump.txt