Complete, automated setup for macOS development environments. Get up and running with essential dev tools, a beautiful terminal, tmux workflow, and a live Claude Code monitoring dashboard.
This repository provides automated scripts to set up a complete development environment on macOS, including:
- Homebrew - Package manager for macOS
- Git - Version control
- Python 3.11 with pyenv - Python version management
- Node.js & npm - JavaScript runtime and package manager
- Common utilities - tree, jq, wget, curl, htop
- Oh My Zsh - Powerful zsh framework
- Powerlevel10k - Beautiful terminal theme
- zsh plugins - Autosuggestions, syntax highlighting, and more
- Modern CLI tools - eza, bat, fzf, fd, thefuck
- tmux with Catppuccin Mocha theme
- TPM - Tmux Plugin Manager
- tmux-resurrect & tmux-continuum - Session persistence
- btop - Beautiful system monitor
- dev-session - Pre-configured Claude Code workflow layout
- Live TUI dashboard for tracking Claude Code CLI instances
- Active instance tracking (PID, CPU%, uptime, project)
- Today's message/session counts
- Lifetime token usage by model (auto-scanned from session files)
- Session & message history with active days count
- Recent activity feed with timestamps
- Works out of the box โ no config needed, reads directly from
~/.claude/ - Catppuccin Mocha colors, flicker-free 5s refresh via
rich
./setup-macos.shThis launches an interactive menu:
- Full Setup - Dev tools + Terminal + tmux
- Dev Environment Only - Essential development tools
- Terminal Only - Terminal beautification
- Multiplexer Only - tmux with Catppuccin theme + dev sessions
- Claude Monitor - Live dashboard for Claude Code instances
- Verify Setup - Check what's already installed
- Exit
- macOS 11.0 or later
- Terminal with zsh (default on modern macOS)
- Internet connection
- Admin privileges (for Homebrew installation)
MacDev/
โโโ setup-macos.sh # Main entry point (interactive menu)
โโโ scripts/ # Core setup scripts
โ โโโ setup-dev-env.sh # Development environment installer
โ โโโ pimp-my-terminal.sh # Terminal customization installer
โ โโโ setup-tmux.sh # tmux + theme + plugins installer
โ โโโ setup-claude-monitor.sh # Claude Code Monitor installer
โ โโโ claude-monitor.py # Live dashboard (rich TUI)
โ โโโ verify-setup.sh # Verification script
โโโ configs/ # Configuration files
โ โโโ tmux.conf # tmux config (Catppuccin Mocha theme)
โ โโโ dev-session.sh # Dev session layout launcher
โโโ docs/ # Documentation
โ โโโ DEV_ENVIRONMENT_GUIDE.md
โ โโโ TERMINAL_SETUP_GUIDE.md
โโโ examples/ # Project-specific examples
โโโ start_dev.sh
โโโ verify_setup_project.sh
โโโ README.md
./scripts/setup-dev-env.shInstalls Homebrew, Git, Python 3.11 (via pyenv), Node.js & npm, and common utilities.
./scripts/pimp-my-terminal.shInstalls Oh My Zsh, Powerlevel10k, zsh plugins, and modern CLI tools (eza, bat, fzf, fd, thefuck).
./scripts/setup-tmux.shInstalls tmux with Catppuccin Mocha theme, TPM, session persistence plugins, btop, and the dev-session command for a Claude Code workflow layout.
./scripts/setup-claude-monitor.shInstalls the live monitoring dashboard. Requires uv (auto-installed via Homebrew/installer).
Usage after install:
claude-monitor # Live dashboard (5s refresh)
claude-monitor --once # Single snapshot
claude-monitor -i 10 # Custom refresh interval
claude-monitor --compact # Compact mode for small tmux panes
cmon # Alias for claude-monitorDashboard shows:
โญโโโโโโโโโโโโโโโโโโโโโโโโ CLAUDE CODE MONITOR โโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ 2 active instances โ
โ MacDev PID 76988 CPU 11.9% 33m โ
โ myproject PID 23919 CPU 0.4% 2d 21h โ
โ โ
โ TODAY Mar 14 โ
โ Messages โโโโโโโโโโโโโโโ 9 โ
โ Sessions โโโโโโโโโโโโโโโ 2 โ
โ โ
โ TOKENS (lifetime) โ
โ opus-4-6 97M tokens โ
โ โ
โ RECENT โ
โ 18:49 MacDev fix the login bug โ
โ 18:47 myproject add dark mode support โ
โ โ
โ LIFETIME 8 sessions ยท 43 msgs ยท 7 active days โ
โ Since Feb 26, 2026 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โป 18:50:09 โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Where does the data come from?
The monitor reads directly from Claude Code's local files โ no API keys or config needed:
| Data | Source |
|---|---|
| Active instances | ps + lsof (running claude processes) |
| Today's messages/sessions | ~/.claude/history.jsonl |
| Token usage per model | ~/.claude/projects/*/*.jsonl (session files) |
| Lifetime stats | ~/.claude/history.jsonl (all entries) |
| Recent activity | ~/.claude/history.jsonl (last 5 entries) |
If ~/.claude/stats-cache.json exists (some Claude Code versions generate it), the monitor uses that too for enriched stats.
cd ~/projects/myapp
sc # that's it - launches everything
# also works as:
dev-session # same as sc, uses current dir
dev-session ~/projects/myapp # give it a path
dev-session myapp ~/projects/myapp # explicit name + path
dev-session --monitor=btop # override system monitorCreates a tmux layout optimized for Claude Code:
โโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโ
โ โ Dev Server โ
โ Claude Code โ (npm run dev) โ
โ (80% height) โโโโโโโโโโโโโโโโโโโโค
โ โ System Monitor โ
โโโโโโโโโโโโโโโโโโโโโโโโโโค (btop) โ
โ Claude Monitor โ โ
โ (20% height) โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโ
65% width 35% width
- Bottom-left: Claude Monitor always runs here (live dashboard)
- Bottom-right: System monitor (
btop>htop>top, or--monitor=CMD)
./scripts/verify-setup.shChecks all installed components including dev tools, terminal enhancements, tmux, and Claude Monitor.
ll # Beautiful file listing with icons
cat file.py # Syntax highlighting with bat
Ctrl+R # Fuzzy search command history
Ctrl+T # Find files
gs # git status
fuck # Fix your last command| Key | Action |
|---|---|
Ctrl+a | |
Split pane vertically |
Ctrl+a - |
Split pane horizontally |
Alt+arrows |
Navigate between panes |
Shift+arrows |
Switch between windows |
Ctrl+a z |
Zoom/unzoom current pane |
Ctrl+a d |
Detach from session |
Ctrl+a I |
Install plugins (capital I) |
p10k configurenano ~/.zshrc
source ~/.zshrceval "$(/opt/homebrew/bin/brew shellenv)"Install a Nerd Font (Powerlevel10k wizard will help).
source ~/.zshrcIf claude-monitor fails with a permission error on ~/.cache/uv:
sudo chown -R $(whoami) ~/.cache/uv- โ Idempotent - Safe to run multiple times
- โ Backs up your existing configuration
- โ Modular - Use only what you need
- โ Error handling - Stops on failures
- โ Colorful output - Easy to follow progress
- โ
Zero-setup dependencies -
uv runhandles Python packages automatically
This setup installs and configures these open-source projects:
Ready to pimp your development environment? Let's go! ๐