Setting up an M1 MacBook Pro for Frontend Development

Install Xcode from the App Store and accept the default options. Install Xcode Command Line Developer Tools (don’t need Xcode installed first for that) xcode-select --install Install Homebrew

mkdir homebrew && curl -L | tar xz --strip 1 -C homebrew

brew install --cask visual-studio-code opera iterm2

Install Rosetta. WhatsApp prompted me and installed automatically, but you can manually install using the following command:

softwareupdate --install-rosetta


  • Sketch
  • Photoshop
  • Illustrator
  • Figma


  • VS Code
  • Sublime Text
  • Slack
  • Chrome
  • Opera
  • Android Studio
  • iTerm



brew install wget fastlane tree
  • wget so that i don't have to edit command between Linux and macOS
  • fastlane for automating my app releases
  • tree for listing files & dirs in a tree structure

Others Logitech Options

Python 3 NVM, Node

Change location for screenshots

Create .zprofile (and .zshrc ?)

=> Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.

Otherwise stuff like nvm or brew after you install them will keep saying command not found, because it won't add commands to $PATH in a file that doesn't exist

touch ~/.zshrc ~/.zprofile

curl -o- | bash

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/" ] && \. "$NVM_DIR/" # This loads nvm

nvm install --lts

# Homebrew
#/bin/bash -c "$(curl -fsSL"
mkdir homebrew && curl -L | tar xz --strip 1 -C homebrew


brew tap shopify/shopify
brew install themekit


  • Chrome
  • Brave
  • Vivaldi
  • Edge
  • Opera
  • Chromium brew install --cask chromium

React Native

  • Flipper
  • fastlane

Setup for iOS needs:

  • Node
  • Watchman brew install watchman
  • Xcode
  • Xcode Command Line Tools xcode-select --install
  • CocoaPods sudo gem install cocoapods
# node will be installed with NVM
brew install watchman

# install CocoaPods
#sudo gem install cocoapods
brew install cocoapods
gem install fastlane bundler cocoapods git
  • installing git with Homebrew as well because the one on Big Sur is outdated (2.24.3 (Apple Git-128) when the latest is 2.30.1)


  • Install JDK 8 brew install --cask adoptopenjdk/openjdk/adoptopenjdk8
  • Install Android Studio
  • Install Android Emulator for M1

Set up SSH keys

  • Create ~/.ssh directory and add ~/.ssh/config
  • Generate a key using the ED25519 type
  • Load key and update key so that it automatically loads it every time


mkdir ~/.ssh
cd ~/.ssh

ssh-keygen -t ed25519 -C ""
# Load key
touch ~/.ssh/config

echo "Host *
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/SSH_KEY" >> ~/.ssh/config

eval "$(ssh-agent -s)"
ssh-add -K ~/.ssh/SSH_KEY

Customize ZSH

sh -c "$(curl -fsSL"

Configure Git

git config --global ""
git config --global "Your Name"

Misc. Tools

Rectangle for window resizing and snapping. Used to use Spectacle before, but that is no longer being maintained.

brew install --cask rectangle



Similar to Android Emulator, an Apple M1 Tech Preview is available. download build 60984. Docker Desktop is built with Go, and the Go language will support Apple Silicon in their 1.16 release which is targeted for February 2021.

You also have to install Rosetta 2

softwareupdate --install-rosetta

Make sure you run this command in a Terminal that is not set to Open using Rosetta. I have both the default Terminal and iTerm2 installed. iTerms is set to Open using Rosetta, whereas the default Terminal opens without Rosetta.

Please note that this site and the posts on it are, and will always be, a work in progress. If i waited for perfection, i’d never get anything done.