A guide to set up your Mac and improve your programming experience to another level with Vim/Zsh/Tmux, macOS Apps, Extensions for high productive development
Whenever I got a new laptop, it usually takes me up to 2 hours to re-setup everything again, and I start getting tired and annoyed. Every time I set up my Mac again, I learned something new and cool things that improve my programming experience better.
So, I make a collection of setup and apps to share with you my personal guide of setting up a new Mac for software development.
- System Preferences > Trackpad/Keyboard > set up as above images
- iCloud > login to your account
- Filevault: On
- Disable Ask Siri
- Location Services: On (Limited)
- Check software updates
- Messages app > add your Number + email
- App Store > install previously installed applications
- It’s a replacement to Spotlight because it’s way much faster when it comes to search any files:
brew cask install alfred
$ xcode-select --install
$ /bin/bash -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask installto install an application
A replacement to Terminal
A comparison: iTerm2 vs. Terminal
brew cask install iterm2
- I used this awesome guy’s repo as a template
Git has become one of the main tools that every developer should know how to use it. The new Mac usually comes with Git pre-installed.
brew install git
$ git config --global user.name "Your Name" $ git config --global user.email "email@example.com"
You will constantly be using Git daily, and SSH will allow you to pull and push to git without re-entering email and password every single time.
- Git already had an article on how to add SSH to your Mac
If you’re a fan of command-line, and you don’t want to install apps by going through each of them on Chrome. then you should try
Install mas for quick setup:
$ brew install mas
Search for your app:
$ mas search XCode. You will find the app ID for each app
Copy the App ID into 1 command line:
$ mas install <app_id1> <app_id1> <app_id3>
Note: If these apps below don’t have an app ID, then you have to install it from the browser. (Links included)
- XCode: 497799835
- The Unarchiver: 425424353
- Microsoft Word: 462054704
- Excel: 462058435
- PowerPoint: 462062816
- Messenger: 1480068668
- WeChat: 836500024
- Line: 539883307
- Open Spotify: This website lets you listen to Spotify music with NO Ads
You don’t want to install many Chrome extensions unless you want it to “eat” a lot of your RAM or unless you have a powerful computer.
- Adblock Plus: Block all the ads
- Grammarly: Used to check my grammar when I write essays, blogs, etc.
- Honey: To find me the best deals
- Rakuten: Give me cash back when I shop online
- Redux Dev Tool: For debugging with React
- JSON View: View JSON on the web browser prettier