Installation Issues
Script exits immediately with 'This script is macOS-only'
Script exits immediately with 'This script is macOS-only'
Darwin. If it doesn’t, contact support.Error: 'Config path already exists and is not a git repo'
Error: 'Config path already exists and is not a git repo'
~/.config exists but wasn’t created by this setup script.Cause: The ~/.config directory exists but is not a git repository.Solution:-
Back up your existing config directory:
-
Re-run the setup script:
-
Manually merge any important files from
~/.config.backupif needed.
Brewfile not found in current directory
Brewfile not found in current directory
-
Verify the Brewfile exists:
-
If missing, ensure the repository cloned correctly:
- Re-run the setup script.
Xcode Command Line Tools
Xcode CLT installation prompt doesn't appear
Xcode CLT installation prompt doesn't appear
- Download Xcode from the Mac App Store
- Open Xcode > Settings > Locations
- Select a Command Line Tools version from the dropdown
'xcode-select: error: tool 'xcodebuild' requires Xcode'
'xcode-select: error: tool 'xcodebuild' requires Xcode'
mas "Xcode"), then run:Script says to re-run after CLT installation, but nothing happens
Script says to re-run after CLT installation, but nothing happens
/Library/Developer/CommandLineTools or similar. If it returns an error, the installation failed. Try:Homebrew Issues
brew command not found after installation
brew command not found after installation
brew command isn’t available.Cause: Homebrew’s bin directory isn’t in your shell’s PATH.Solution:Add Homebrew to your PATH by running:~/.zprofile:/usr/local/bin/brew instead.brew bundle fails with 'Error: Cask X is unavailable'
brew bundle fails with 'Error: Cask X is unavailable'
mas fails to install App Store apps
mas fails to install App Store apps
-
Sign into the Mac App Store:
- Open App Store.app
- Sign in with your Apple ID
- Verify you own the apps listed in the Brewfile (Xcode is free, but Logic Pro, Final Cut Pro, etc. require purchase)
-
Try installing manually first:
- If specific apps fail, comment them out in the Brewfile temporarily.
brew bundle takes extremely long or hangs
brew bundle takes extremely long or hangs
- Check network connectivity
-
Run brew bundle with verbose output:
- For large App Store apps, install them manually via App Store.app first
- Cancel and restart if truly hung (Ctrl+C, then re-run)
Permission Issues
Permission denied when creating symlinks
Permission denied when creating symlinks
Touch ID configuration fails even with sudo
Touch ID configuration fails even with sudo
-
Verify the template exists:
- If missing, this feature is not available on your macOS version (requires macOS Sonoma or later)
-
Manually create
/etc/pam.d/sudo_local:Add this line: -
Test with:
Operation not permitted errors on /usr/local
Operation not permitted errors on /usr/local
/usr/local during Homebrew installation.Cause: System Integrity Protection (SIP) or incorrect ownership.Solution:Fix ownership:/opt/homebrew instead, which shouldn’t have this issue.Git and Repository Issues
git clone fails with authentication error
git clone fails with authentication error
-
Test GitHub connectivity:
-
Try HTTPS instead of SSH:
- If repository is private, ensure you have access and are authenticated with GitHub
Symlinks point to wrong location after repository move
Symlinks point to wrong location after repository move
~/.config.Cause: Absolute symlinks that break when the source moves.Solution:Re-run the symlink creation part:General Troubleshooting
How do I run the script again after fixing issues?
How do I run the script again after fixing issues?
How do I see detailed error messages?
How do I see detailed error messages?
Can I skip certain parts of the setup?
Can I skip certain parts of the setup?
setup.sh: