Setting up Mac for Development
21 Jul 2021- New Toy
- Homebrew
- ZSH
- Reference
New Toy
You finally got your shiny new MacBook and you are excited to start pumping code and build something. For this you need your new toy with all the tools that you need to build stuff. In this post I will be sharing you my setup with a brand new mac. Hopefully you will be able to find some new stuff that you might find helpful while setting a new system for yourself.
Homebrew
First thing first, without a doubt, Homebrew is the missing package manager for macOS. This is the first thing I install after getting a Mac. Homebrew helps in simplifying all your installation and updates. Once you have Brew install, let’s start by installing:
brew install git
brew install node
brew install jq
brew install tree
brew install postgresql
ZSH
Next, you start configuring your ZSH with your most beloved plugins. Here are some of my favorite ZSH plugins.
brew install zsh
brew install autojump
brew install zsh-autosuggestions
brew install zsh-history-substring-search
brew install zsh-syntax-highlighting
Once you have downloaed the plugins, you can update your ~/.zshrc
with the plugin list.
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
zsh-history-substring-search
autojump
)
Another component of brew is you can install not just your command line apps but it bring the same power to your GUI MacOS apps such as VSCode, Google Chrome, Spotify etc.
brew cask install visual-studio-code
brew cask install google-chrome
brew cask install 1password
brew cask install iterm2
brew cask install virtualbox
Reference
- https://sourabhbajaj.com/mac-setup/