When u get a new MacBook - follow these steps to save time installing all things you need
What will be installed?
- Download and install Xcode
- Install Command Line Tools (
sudo xcode-select --install
)
Download this repo and go into the unzipped directory
curl -L -O https://github.com/BinaryDennis/setup_new_mac/archive/refs/heads/master.zip
unzip master.zip
cd setup_new_mac-master/
./scripts/install_brew.sh
eval "$(/opt/homebrew/bin/brew shellenv)"
brew bundle --file brewfiles/primary/Brewfile
$(brew --prefix)/opt/fzf/install
brew bundle --file brewfiles/secondary/Brewfile
./scripts/setup_zsh.sh
./scripts/setup_osx.sh
./scripts/setup_ssh.sh
./scripts/setup_git.sh
./scripts/install_npm.sh
Download latest Flutter binary for you machine silicon type here: Flutter
Example, downloading Flutter version 3.0.5 for Apple Silicon
curl -O -L https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_arm64_3.0.5-stable.zip
cd ~/development
unzip ~/Downloads/flutter_macos_arm64_3.0.5-stable.zip
mv flutter /Applications/flutter
flutter doctor
In the resources/fonts
directory you will find 3 cool fonts to install, mark them all and open them in Font Book app on Mac OS to add them to your system.
Note that the font Fira Code
is installed as part of essential Brew taps.
- Roboto
- Roboto Slab
- Meslo
Optionally download and install these things manually