1 - Create a new SSH key:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
2 - Add the SSH key to your GitHub account:
pbcopy < ~/.ssh/id_rsa.pub
2 - Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
3 - Install Xcode command line tools:
xcode-select --install
Note: If you edit the brew/Brewfile
to install Xcode before adding the thoughtbot/formulae/rcm
brew package, you can ignore this step.
4 - Clone the repo:
git clone https://github.com/rafaelcruzazevedo/dotfiles.git
5 - Run ./install
.
6 - After the install restart your system as some macOS setup may only happen after restart.
Some additional setup will happen after you restart your shell.
- Brew is used to install macOS packages, as such, you can find and edit the
brew/Brewfile
to fit your needs. - MacOS defaults can be edited at
macos/defaults
. - Dotfiles are at
packages
and are managed via rcm. - iTerm2 preferences are at
library/iterm
. - Zsh plugins are managed with zinit. Edit the
packages/zshrc
file to add/remove plugins. - For
git
aliases and utils, check thepackages/gitconfig
andpackages/git-utils
.