Setting up Mac for Software Development
With a brand new Mac laptop, I usually do the following set-up in prep for programming work.
- 
    Customize Finder.- In the “Sidebar” on the left, remove some items in the “Favorites” section that are not very useful.
- Add user’s home directory to the “Favorites” section. This is done in “Finder -> Preferences -> Sidebar”.
- You may also want to add the “Path” tool to the toolbar. Do this via “View -> Customize Toolbar…”.
 
- 
    Customize Terminal.- Add Terminal(in “Applications/Utilities”) to the “Dock”.
- In “Terminal -> Preferences -> Profiles”, choose a profile, set font, background color and opacity, and window size.
- In the “Shell” tab of “Preferences”, for “When the shell exits:”, choose “Close if the shell exited cleanly”.
 
- Add 
- 
    Let windows always show vertical scroll bar on the right. “Apple -> System Preferences -> General”, choose “Always” for “Show scroll bars:”. 
- 
    Install Homebrew.Search for “mac homebrew”, then follow instructions. 
- 
    brew installpython3andgit(if not already installed).
- 
    Customize git.Follow instructions here. 
- 
    Customize bashenvironment.Follow instructions here. 
- 
    Install favorite IDE’s, such as VS CodeorPyCharmorIntelliJ IDEA.
- 
    Create a directory tree for code work. I prefer to use the following fixed directory structure 1 2 3 4 cd ~ mkdir -p work cd work mkdir -p bin config data log src tmp and remember to add ~/work/bintoPATHin~/.bashrc.
- 
    Install and customize Neovim(if you are avimuser).
Follow instructions here.
- Install Docker(if not already installed).
Go to docker.io and follow instructions.