Setup a new macOS
When u get a new MacBook - follow these steps to save time installing all things you need
What will be installed?
Pre-requisite
- Download and install Xcode
- Install Command Line Tools (
sudo xcode-select --install
)
Installation
Download this repo
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/
Install Homebrew
./scripts/install_brew.sh
eval "$(/opt/homebrew/bin/brew shellenv)"
Install essential Brew taps
brew bundle --file brewfiles/primary/Brewfile
$(brew --prefix)/opt/fzf/install
Install nice-to-have Brew taps
brew bundle --file brewfiles/secondary/Brewfile
Setup Zshrc
./scripts/setup_zsh.sh
Setup Mac OS defaults & hostname
./scripts/setup_osx.sh
Setup SSH
./scripts/setup_ssh.sh
Setup Git
./scripts/setup_git.sh
Install NPM
./scripts/install_npm.sh
Install Flutter
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
Install Fonts
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
Post Installation
Optionally download and install these things manually