macOS development environment setup

Dec. 17, 2021

When I upgrade macOS, I prefer a clean install and usually do it during winter holidays.

  1. Arrange laptop and external display screen
  2. Remove junk from dock
  3. Mouse/Touch pad scroll - Turn off natural
  4. Touch pad
    1. Secondary click -> bottom Right
    2. Tap to click - On
  5. Keyboard Settings
    1. Use F1, F2, etc keys as standard function keys on external keyboards.
    2. Key repeat: Fast
    3. Delay until repeat: 80% mark
    4. Modifier Keys
        1. Caps Lock -> Control
        2. Control -> Control
        3. Option -> Command
        4. Command -> Option
  6. Install apps
    1. Flux
    2. Rectangle
    3. Firefox - Login to enable Sync
    4. Sublime Text
    5. Sublime Merge
    6. Docker for Mac
        1. 4 CPU cores
        2. 6 GB Memory
    7. Homebrew
    8. GPGSuite
    9. Spotify
    10. Dropbox
    11. Wireguard - Sync tunnels
  7. Development environment
    1. Setup SSH
        1. Create New SSH Key with passphrase
        2. `ssh-keygen -t rsa -b 2048`
        3. `ssh-add ~/.ssh/id_rsa`
  8. Setup terminal
    1. Install iterm2
    2. Install Oh-my-zsh - `sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)”`
  9. Install brew packages
    1. `brew tap hashicorp/tap`
    2. `brew tap homebrew/cask-fonts`
    3. `brew tap d12frosted/emacs-plus`
    4. `brew reinstall gcc —build-from-source —force`
    5. `brew reinstall libgccjit —build-from-source —force`
    6. `brew install --cask font-fira-code`
    7. `brew install fzf helm htop jq kustomize node prettier pyenv ripgrep tfenv tmux watch [email protected]`
    8. `brew install hashicorp/tap/vault`
    9. `brew install emacs-plus@27 —with-widgets —with-dbus —with-modern-asingh4242-icon`
  10. Install AWS CLI
    1. `curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"`
    2. `unzip awscli-bundle.zip`
    3. `sudo $(which python3) awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws`
  11. Setup dotfiles
  12. Install Doom
    1. `git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d`
    2. `~/.emacs.d/bin/doom install`
  13. Clone repos

Return to blog