Personal dotfiles and development environment configuration guide for macOS.
This repo is managed by chezmoi. To set up on a new machine:
brew install chezmoi
chezmoi init --apply https://github.com/zlliang/dotfiles.gitI use ~/Workspace/github/zlliang/dotfiles as the source directory, so for me:
chezmoi init -S ~/Workspace/github/zlliang/dotfiles --apply https://github.com/zlliang/dotfiles.gitOr if already initialized, just apply the latest changes:
chezmoi apply- Install Xcode or Xcode Command Line Tools: run
xcode-select --install- This will install the necessary tools for building and running software on macOS, including Git
- Install Homebrew
- Set Fish as the default shell:
- Install via Homebrew:
brew install fish - Add
/opt/homebrew/bin/fishto/etc/shells - Set the default shell:
chsh -s /opt/homebrew/bin/fish - Note: fish configuration file is located at
~/.config/fish/config.fish
- Install via Homebrew:
- Programming language toolkits:
- Command line tools:
- Essential:
eza: a modern, maintained replacement forlsfd: a simple, fast and user-friendly alternative tofindbat: acatclone with wingsripgrep (rg): an alternative togrepzoxide (z): a faster way to navigate your filesystemgh: GitHub CLI
- Good to have:
- Essential:
- Desktop apps:
- Essential:
- VS Code: the code editor
- Mole: Deep clean and optimize your Mac
- Hidden Bar (
brew install hiddenbar) - Scroll Reverser (
brew install scroll-reverser) - IINA (
brew install iina) - Keka (
brew install keka) - Surge
- Replaceicon
- Good to have:
- Essential:
- Coding agents:
- Amp is my primary coding agent, and my profile can be found here
- Codex is a secondary tool I use, via the CLI, the VS Code extension, and the standalone app, through my ChatGPT Plus subscription
- I also use Claude Code and Cursor on my work laptop