Open2
Setting up development environment on Apple Silicon (M1) Mac
Record of development environment setup on Apple Silicon Mac
Environment
- MacBook Pro (13-inch, M1, 2020)
- Chip: Apple M1
- Memory 16 GB
- OS: macOS Big Sur Version 11.0.1
Homebrew
Refered official doc.
Download
$ cd /opt
$ sudo mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
$ sudo chown -R $(whoami) /opt/homebrew
Setup
Add this line to .zshrc
eval $(/opt/homebrew/bin/brew shellenv)