Reference for terminal tooling on the Mac Studio โ zsh setup, CLI utilities, and common command patterns. Shell is zsh (macOS default); editors are BBEdit (primary) and VS Code (secondary); terminal is iTerm2. Most subdirs are quick cheatsheets โ pair them with the official docs (linked from each page).
| Component | Purpose | Page |
|---|---|---|
| zsh (default) | Apple’s shell since Catalina | โ |
| Oh My Zsh | Plugin manager + theme framework | โ |
| Powerlevel10k | Prompt theme (fast, customizable) | โ |
| Autosuggestions | Suggest commands from history as you type | โ |
| Syntax Highlighting | Color commands as you type (valid/invalid) | โ |
| Nerd Fonts | Glyphs for Powerlevel10k + lazygit icons | โ |
| Color schemes | iTerm2 themes | โ |
After editing ~/.zshrc, reload with source ~/.zshrc.
- Common Commands โ day-to-day patterns
- SSH โ config aliases, key management, control sockets, host aliases (
ssh pve,ssh fpve,ssh ha,ssh macbook) - Rsync โ file sync patterns (used heavily for nvmepool / Biggest backups)
- Git โ branch, rebase, history; see also
mcp__git-semantic__*for programmatic queries - Quick Info โ
system_profiler,sw_vers,uname,defaults - Backup โ Time Machine, rsync recipes
- Help โ
man,tldr,which,type
| Tool | Replaces / adds | Page |
|---|---|---|
| eza | ls (Git-aware, icons, tree mode) |
โ |
| bat | cat (syntax highlight, line numbers) |
โ |
| btop / htop | top (interactive resource monitor) |
โ |
| ranger | Vim-flavored TUI file manager | โ |
| lazygit / tig | TUI git browsers | โ |
| ncdu | Interactive disk usage explorer | โ |
| tldr | Practical alternative to man |
โ |
| speedtest-cli | Internet speed test | โ |
| Homebrew | Package manager itself | โ |
- File manager โ
mv,cp,ln, find/locate patterns - Finder integration โ
open .,open -a "App Name", reveal in Finder from terminal - Clipboard โ
pbcopy,pbpaste - Archives โ
tar,zip,unzip,ditto - System & disk โ
df,du,diskutil,launchctl - Navigation โ
cd -,pushd/popd,z(zoxide) - Viewing files โ
less,head,tail,bat,glow - Keyboard tips โ readline shortcuts that work everywhere
claude (Claude Code), ollama, and friends. For Claude specifically, the API key lives at ~/.config/anthropic-api-key (chmod 600, no trailing newline, no -n prefix โ see SKILL Style Guide for the gotcha context). claude -p --tools "" --bare - is the canonical pattern for batch/scripted runs.