- Published on
How to Set up M1 Pro Macbook Pro
How to Install homebrew
- Install homebrew on your terminal
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Set the path
$ echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/<yourname>/.zprofile
- Check brew state
$ brew doctor
How to Install Node with nodebrew
- Install nodebrew from homebrew
$ brew install nodebrew
- Setup nodebrew
$ nodebrew setup
- Set the path
$ echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.zshrc
$ source ~/.zshrc
- Check available versions for install
$ nodebrew ls-remote
- Install node
$ nodebrew install-binary v16.13.0
- Activation installed version
$ nodebrew use v16.13.0
- Check activated version
$ node -v
v16.13.0
How to Install yarn
It's so easy....
$ brew install yarn
How to Install Git
- Install git from homebrew
$ brew install git
- Setup the path
$ echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc
$ source ~/.zshrc
- Check git version
$ git --version
git version 2.30.1 (Apple Git-130)
It was Done...!
Thank you for reading!!! Please follow my twitter account!!! https://twitter.com/hayato_omr