- Install the applications via Homebrew:
brew bundle install - Install the stowed directories using
./install. - Run
/opt/homebrew/opt/tpm/share/tpm/tpmand install tmux plugins viaprefix + I. - Install Scala specific plugins via Coursier:
cs install metals cs install scalafix cs install scalafmt
- Symlink Colima socket to Docker socket: (assumed to exist by tools like
devctl)sudo ln -s "$HOME/.colima/default/docker.sock" /var/run/docker.sock
I prefer to use fish as my default shell. To do this, I first need to add Fish an acceptable shell, then set it for my user:
echo $(brew --prefix)/bin/fish | sudo tee -a /etc/shellschsh -s $(brew --prefix)/bin/fishFigma whitelists MCP clients by client_name. To register credentials for OpenCode, use the "Claude Code (figma)" client name (source):
curl -s -X POST https://api.figma.com/v1/oauth/mcp/register \
-H "Content-Type: application/json" \
-d '{
"client_name": "Claude Code (figma)",
"redirect_uris": ["http://127.0.0.1:19876/mcp/oauth/callback"],
"grant_types": ["authorization_code", "refresh_token"],
"response_types": ["code"],
"token_endpoint_auth_method": "none"
}' | tee /tmp/figma-reg.json | jq -r '.client_id' > ~/.secrets/figma-client-id \
&& jq -r '.client_secret' < /tmp/figma-reg.json > ~/.secrets/figma-client-secret \
&& rm /tmp/figma-reg.jsonThen run opencode mcp auth figma and accept the browser prompts.
- Decide if the following packages are needed:
- black
- dockutil
- ffmpeg
- imagemagick
- lua-language-server
- luv
- utf8proc