Overview
This guide will walk you through cloning the repository and running the automated setup script to configure your macOS development environment. The entire process takes about 5-15 minutes, depending on your internet connection and whether Xcode Command Line Tools are already installed.The setup script is idempotent, meaning it’s safe to run multiple times. It will detect existing installations and skip steps that have already been completed.
Quick Setup
Clone the repository
Open Terminal and clone the config repository to
~/.config:The script expects the repository to be located at
~/.config. If this directory already exists and isn’t a git repository, you’ll need to back it up first.Run the setup script
Execute the setup script:The script will display timestamped log messages as it progresses through each step:
Complete Xcode Command Line Tools installation (if needed)
If Xcode Command Line Tools aren’t installed, a GUI dialog will appear:After the installation completes, run the script again:
Wait for Homebrew bundle installation
The longest step is installing packages via Homebrew. The script installs:
- 6 command-line tools (formulae)
- 6 applications (casks)
- 11 Mac App Store apps
Mac App Store apps require you to be signed in to the App Store and may require purchase confirmation even for free apps.
What Just Happened?
The setup script performed these operations:System Setup
- Installed Xcode Command Line Tools
- Enabled Touch ID for sudo
- Installed Homebrew package manager
Configuration
- Cloned dotfiles to ~/.config
- Symlinked dotfiles to home directory
- Applied Zsh, Git, and Vim configurations
Development Tools
- Installed deno, gh, starship, mosh
- Configured Starship shell prompt
- Set up GitHub CLI
Applications
- Installed Zed, Claude Code, Codex
- Installed Mac App Store apps
- Set up fonts and utilities
Verification
Verify your installation with these commands:~/.config/ for your dotfiles.
Expected Output
A successful setup run looks like this:Shell Configuration Applied
Your new.zshrc configuration includes:
.zshrc
- Local bin directory in your PATH
- Auto CD (type directory name to cd into it)
- Spell correction for commands
- Shared history across terminal sessions
- Starship prompt integration
Testing Your Setup
Try these commands to test your new environment:Test Git configuration
Common First-Run Issues
Starship prompt not appearing
Starship prompt not appearing
If the Starship prompt doesn’t appear after restarting your terminal:
-
Verify Starship is installed:
-
Manually initialize Starship:
-
Check that
.zshrcis properly symlinked:
Touch ID for sudo not working
Touch ID for sudo not working
Touch ID for sudo requires macOS Sonoma or later and may not work in all terminal emulators. To test:If Touch ID prompt doesn’t appear, you may need to manually edit
/etc/pam.d/sudo_local or use password authentication.Mac App Store apps not installing
Mac App Store apps not installing
If Mac App Store apps fail to install:
- Ensure you’re signed in to the App Store
- Some apps require previous purchase or subscription
- Install apps manually if needed:
Homebrew bundle fails
Homebrew bundle fails
If
brew bundle fails:-
Update Homebrew:
-
Try installing packages individually:
- Check for specific error messages and search Homebrew’s issue tracker
Next Steps
Now that your environment is set up:Shell Configuration
Learn how to customize your shell and prompt settings
Editor Setup
Configure Vim and Zed for your workflow
Homebrew Packages
Explore all installed packages and applications
Troubleshooting
Get help with common issues and edge cases
Re-running the Setup
The setup script is designed to be re-run safely. It checks for existing installations and only performs necessary steps.
- Pull the latest changes from the repository
- Re-create symlinks for any new dotfiles
- Update Homebrew packages via
brew bundle - Skip already-completed steps like Xcode CLT installation