Complete automation toolkit for setting up a fresh macOS Tahoe installation on Apple Silicon Macs (M3 Max, M4 MacBook Air, etc.).
This repository provides a 4-Phase automated setup process to transform a clean macOS Tahoe installation into a fully configured development environment:
- Phase 1: Bootstrap - Install essentials (Homebrew, 1Password, GitHub CLI, clone this repo)
- Phase 2: Basic Settings - System preferences, terminal, Finder, Dock, productivity apps
- Phase 3: Development - Python, Docker, Docker Compose, Ollama + Open WebUI, LLM tools
- Phase 4: Optional - Parallels Desktop & Windows gaming environment (coming soon)
- macOS Tahoe (version 26.x) installed and fully updated
- Clean installation (or willing to back up existing configurations)
- Administrator access
- Stable internet connection
- External drive for backups (recommended)
┌─────────────────────────────────────────┐
│ Clean macOS Tahoe Installation │
├─────────────────────────────────────────┤
│ Phase 1: Bootstrap │
│ Run: phase-1-bootstrap.sh │
│ ↓ Installs Homebrew, 1Password, GitHub │
│ ↓ Clones this repo │
├─────────────────────────────────────────┤
│ Phase 2: Basic Settings │
│ Run: phase-2-basic-settings.sh │
│ ↓ Terminal, Finder, Dock, Productivity │
├─────────────────────────────────────────┤
│ Phase 3: Development Environment │
│ Run: phase-3-development.sh │
│ ↓ Python, Docker, LLM, AI Tools │
├─────────────────────────────────────────┤
│ Mac Fully Configured! ✅ │
└─────────────────────────────────────────┘
Duration: ~10-15 minutes
- Homebrew (macOS package manager)
- 1Password (password manager)
- 1Password CLI
- Git & GitHub CLI
- Mac-Setting repository (setup scripts & guides)
Open Terminal and run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/sheepnir/Mac-Setting/main/Scripts/phase-1-bootstrap.sh)"Or if you prefer to download and review first:
# Download the script
curl -o phase-1-bootstrap.sh https://raw.githubusercontent.com/sheepnir/Mac-Setting/main/Scripts/phase-1-bootstrap.sh
# Make it executable
chmod +x phase-1-bootstrap.sh
# Review it
cat phase-1-bootstrap.sh
# Run it
./phase-1-bootstrap.sh- Homebrew - Checks for Homebrew, installs if missing
- 1Password - Installs 1Password app and CLI
- You'll be prompted to open 1Password and sign in
- Requires: Your 1Password account email & master password
- Git & GitHub CLI - Installs Git and GitHub CLI
- Configures Git with your user information
- GitHub Authentication - Authenticates with GitHub
- You'll be prompted to run
gh auth login - Requires: Your GitHub login credentials
- Browser-based authentication (can use 2FA)
- You'll be prompted to run
- Clone Repository - Clones Mac-Setting to
~/Developer/Mac-Setting - Next Steps - Displays instructions to continue
Before running Phase 1, have these ready:
- ✅ 1Password account email and master password
- ✅ GitHub account username and password (or 2FA device)
- ✅ Internet connection (stable download needed)
- ✅ ~15 minutes of time
Once Phase 1 completes successfully, you'll be prompted to:
# Run Phase 2~/Developer/Mac-Setting/Scripts/phase-2-basic-settings.shDuration: ~20-30 minutes
System Settings:
- Finder: List view, show hidden files, show extensions
- Finder sidebar: Custom layout
- Dock: Custom app arrangement with Applications and Downloads folders
- Terminal: ZSH with Oh My Zsh framework
- Menu bar and Control Center (Tahoe features)
Applications Installed:
- Browsers: Google Chrome, Brave
- Editors: VS Code, Sublime Text, Cursor
- Communication: Slack
- AI Tools: ChatGPT, Claude
- Utilities: Raycast, AppCleaner, HiddenBar, Grammarly
~/Developer/Mac-Setting/Scripts/phase-2-basic-settings.shAutomatically runs these in order:
- Terminal & ZSH setup (restores backed-up configs)
- Finder preferences
- Dock customization
- Oh My Zsh framework installation
- Productivity tools installation
Your Mac now has:
- ✅ Customized terminal with ZSH and Oh My Zsh
- ✅ Finder in list view with custom sidebar
- ✅ Clean Dock with essential apps
- ✅ All productivity tools installed and ready
Next step: Run Phase 3
~/Developer/Mac-Setting/Scripts/phase-3-development.shDuration: ~30-45 minutes
Languages & Runtimes:
- Python (via Homebrew)
- Common Python packages for development
- Node.js (optional)
Development Tools:
- Docker Desktop for Mac
- Docker Compose
- Ollama (local LLM runtime)
- Open WebUI (web interface for local LLMs)
AI & ML Packages:
- numpy, pandas, matplotlib, seaborn
- scikit-learn, jupyter
- torch (PyTorch)
- tensorflow
- transformers, nltk, spacy, gensim
- anthropic, openai (API clients)
- python-dotenv
~/Developer/Mac-Setting/Scripts/phase-3-development.sh# Python
python3 --version
pip install package_name
# Create virtual environments
python3 -m venv myenv
source myenv/bin/activate
# Docker
docker --version
docker run hello-world
# Ollama (local LLMs)
ollama pull llama2
ollama run llama2
# Open WebUI (after Ollama)
docker run -d -p 3000:8080 ghcr.io/open-webui/open-webui:latest
# Then visit: http://localhost:3000Your Mac now has a complete development environment with:
- ✅ Python with data science libraries
- ✅ Docker for containerized applications
- ✅ Local LLM capabilities (Ollama)
- ✅ Web UI for interacting with local models
- ✅ All tools for AI/ML development
- PRE-INSTALLATION.md - Backup and clean install instructions
- POST-INSTALL-STEPS.md - Detailed post-installation verification and customization
- DEVELOPMENT-SETUP.md - Deep dive into development tools and how to use them
All your backed-up configurations are stored in /Configs:
zsh/- ZSH configuration filesterminal/- Terminal and iTerm2 preferencesoh-my-zsh/- Custom themes and pluginsbackup-metadata.txt- Info about the backup source
- DEVELOPMENT-WORKFLOWS.md - Comprehensive development workflows (local & container-based), project setup, and Claude Code usage
- GenAI/localLLM.md - Complete guide to Ollama, Open WebUI, and local LLM models
- Python_Setup/setup.md - Python virtual environments and package management
After running the automated scripts, you may want to customize:
Edit Scripts/update_dock.sh to change which apps appear in your Dock.
Change ZSH theme in ~/.zshrc:
# Current theme: half-life
ZSH_THEME="half-life"# Change to another theme (e.g., "robbyrussell")
ZSH_THEME="robbyrussell"source~/.zshrc- Menu Bar: System Settings > Control Center - Customize what appears in menu bar
- Dock: System Settings > Dock & Menu Bar
- Finder: System Settings > Finder
- App Icons: Right-click app > Options > Tint (Light/Dark/Clear)
Right-click any folder > Customize Tags to add colors and emoji to organize your files.
Problem: Homebrew installation fails
# Try manual installation
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Problem: GitHub CLI authentication fails
# Manually authenticate
gh auth loginProblem: Terminal theme not applied
# Reload ZSHexec zsh
# Orsource~/.zshrcProblem: Finder changes didn't apply
# Restart Finder
killall FinderProblem: Docker won't start
- Open Docker.app from Applications
- Wait for it to fully initialize
- Then try again
Problem: Ollama won't download models
- Check internet connection
- Ensure Docker is running
- Try manual:
ollama pull llama2
Check the POST-INSTALL-STEPS.md for verification commands to test each phase.
Mac-Setting/
├── README.md (this file)
├── PRE-INSTALLATION.md
├── POST-INSTALL-STEPS.md
├── DEVELOPMENT-SETUP.md
├── Scripts/
│ ├── phase-1-bootstrap.sh
│ ├── phase-2-basic-settings.sh
│ ├── phase-3-development.sh
│ ├── 1Password_GH_setup.sh
│ ├── terminal_settings.sh
│ ├── setup_finder.sh
│ ├── setup_ohmyzsh.sh
│ ├── update_dock.sh
│ └── prducttivity_tools_install.sh
├── Configs/
│ ├── zsh/ (backed-up configs)
│ ├── terminal/
│ ├── oh-my-zsh/
│ └── backup-metadata.txt
├── GenAI/
│ └── localLLM.md
├── Python_Setup/
│ └── setup.md
└── ARCHIVE/ (old documentation)
- Do NOT commit
.envfiles, API keys, or credentials - Use 1Password for storing sensitive data (configured during Phase 1)
- Use 1Password CLI to securely access credentials from scripts
After Phase 1, Git is configured with:
- User: Nir Sheep
- Email:sheep.nir@gmail.com
Update these if needed:
git config --global user.name "Your Name"
git config --global user.email "your@email.com"To get the latest configurations and scripts:
cd~/Developer/Mac-Setting
git pull origin main- macOS Version: Tahoe (26.0) or later
- Architecture: Apple Silicon (M1, M2, M3, M4, etc.)
- RAM: 8GB minimum (16GB+ recommended for development)
- Disk Space: 50GB+ free space
- Internet: Required for downloads (10+ GB total)
# Create a Time Machine backup before major changes# System Settings > General > Time MachineAfter customizing your setup, commit changes:
cd~/Developer/Mac-Setting
git add .
git commit -m "Updated settings"
git pushAlways use virtual environments for Python projects:
python3 -m venv myproject
source myproject/bin/activate
pip install -r requirements.txtKeep your Docker system clean:
# Remove unused images
docker image prune -a
# Remove unused volumes
docker volume pruneFound an issue or want to improve something? Great!
- Create a new branch:
git checkout -b feature/your-feature - Make your changes
- Test thoroughly
- Commit with clear message:
git commit -m "Add your feature" - Push:
git push origin feature/your-feature - Open a pull request
These scripts and configurations are provided as-is for personal Mac setup automation.
- Check
POST-INSTALL-STEPS.mdfor verification steps - Check
DEVELOPMENT-SETUP.mdfor tool-specific help - Review archived documentation in
ARCHIVE/for additional context - Check individual script comments for detailed information
After running all 3 phases, your Mac is ready for:
- ✅ Web development (Docker, containers, databases)
- ✅ Python development (data science, ML, AI)
- ✅ Local AI/LLM experimentation (Ollama)
- ✅ General development work
- ✅ Content creation (VS Code, etc.)
Future additions:
- Phase 4: Parallels Desktop & Windows gaming setup
- Additional language runtimes (Node.js, Rust, Go)
- Database setup (PostgreSQL, MongoDB)
- Container orchestration (Kubernetes basics)
Version: macOS Tahoe (26.x) Last Updated: November 2025 Target Systems: Apple Silicon Macs (M1+)
Happy coding! 🚀