- Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew.
# Install Apple's Command Line Tools in your brand new Mac
xcode-select --install
- Install sdkman.
# Install sdkman
curl -s "https://get.sdkman.io" | bash
- Install Homebrew.
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install the software listed in Brewfile
brew bundle --file ~/your_path/.dotfiles/Brewfile
-
Git and GitHub configuration
5.1. Configure git with your own information, and generate the SSH key
git config --global color.ui true
git config --global user.name "YOUR NAME"
git config --global user.email YOUR@EMAIL.com
ssh-keygen -t rsa -C YOUR@EMAIL.com
5.2. You have to copy and paste the output of the following command and paste it here.
cat ~/.ssh/id_rsa.pub
5.3. Update git configuration
git config --global color.ui true
git config --global color.diff-hifhlight.oldnormal red bold
git config --global color.diff-hifhlight.newnormal green bold
git config --global color.diff.meta yellow
git config --global color.diff.frag magenta bold
git config --global color.diff.commit yellow bold
git config --global color.diff.old red bold
git config --global color.diff.new green bold
git config --global color.diff.whitespace red reverse
git config --global push.default matching