Setting Up MacBook Pro for Development

Takashi Yoshida bio photo By Takashi Yoshida

Here’s some random set up for my MacBook Pro, in case I forget to do this next time I install OS from scratch.

System Preferences/Keyboard

  • Configure Caps Lock to behave as Control key
  • Add a new keyboard shortcut for Finder to assign tags via Command + Control + T
  • Add a new keyboard shortcut to Zoom window by pressing Command + Control + Option + Shift + Z


Configure HOMEBREW_GITHUB_API_TOKEN (Refer to brew search して GitHub API rate limit で怒られたときの対処方法.

export HOMEBREW_GITHUB_API_TOKEN=xxxyyyzzz...


After installing zsh from Homebrew, refer to Use Homebrew zsh Instead of the OS X Default.

Install pyenv and rbenv

brew install pyenv rbenv
pyenv install 2.7.12
rbenv install 2.3.3

Then go ahead and Install Jekyll on macOS.

Install MacTex

Install MacTex via Homebrew so I can generate PDF via Pandoc.

brew cask install mactex
export PATH