# brew install gh
# - prefer SSH over HTTPS
gh auth login
# store passphrase in keychain
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
gh repo clone gilbertwyw/dotfiles
Note
Read HOMEBREW_GITHUB_API_TOKEN
in https://github.com/Homebrew/brew/blob/master/docs/Manpage.md#environment
cd dotfiles
brew bundle -v --no-lock
# use -n to see any filesystem changes
stow -v -R [-n] .
echo "$HOMEBREW_PREFIX/bin/zsh" | sudo tee -a /etc/shells
chsh -s $HOMEBREW_PREFIX/bin/zsh
Important
Make sure <prefix>
does not clash with system shortcut.
## Neovim
```sh
# Run all healthchecks
:checkhealth
ln -s $HOMEBREW_PREFIX/opt/emacs-plus/Emacs.app /Applications/Emacs.app
Tip
Run espanso path
to verify the setup
xcode-select --install
sudo xcodebuild -license