A comprehensive macOS setup script that automates the installation of development tools, applications, and system preferences.
curl -fsSL https://raw.githubusercontent.com/yon/osx-bootstrap/master/Makefile | make -f - bootstrapThis bootstrap script will:
- Install Xcode Command Line Tools - Essential development utilities
- Install Homebrew - Package manager for macOS
- Install Applications & Tools via Homebrew Bundle:
- Development tools (Docker, Git, Node.js, Python, Go, Rust, Terraform)
- Applications (1Password, Chrome, Slack, VS Code, Rectangle, etc.)
- Mac App Store apps (Home Assistant, Okta Verify)
- VS Code extensions for development
If you prefer to run locally:
# Clone the repository
git clone https://github.com/yon/osx-bootstrap.git
cd osx-bootstrap
# Run full bootstrap
make bootstrap
# See all available targets
make helpRun make help to see all available targets and their descriptions. Review the Makefile directly for implementation details and dependencies.
See the Brewfile for the complete list of applications and tools that will be installed. The Brewfile includes development tools, productivity apps, communication tools, and various utilities.
The bootstrap process can optionally configure macOS system preferences for Dock, Finder, Safari, Chrome, Terminal, and other applications. See the scripts in the preferences/ directory for details on what settings are modified.
To apply system preferences:
make osx-preferences- macOS (tested on recent versions)
- Internet connection
- Administrator privileges (for some system preferences)
- Review the scripts before running if security is a concern
- System preference changes require Full Disk Access for Terminal
- Some preferences may require restart to take effect
- If Homebrew installation fails, install manually first
- Run
brew doctorif package installations fail - For permission issues, ensure Terminal has Full Disk Access
- Fork the repository
- Make your changes
- Test on a clean macOS installation
- Submit a pull request