Development environment setup for macOS with automated installation and update scripts.
Run the installer using curl (non-sudo mode):
curl -fsSL https://raw.githubusercontent.com/munezaclovis/setup/refs/heads/main/install.sh | bashImportant: DO NOT run with sudo. The script will prompt for your password when needed for specific tasks.
If the installation fails due to interactive prompts, you can download and run locally:
curl -fsSL https://raw.githubusercontent.com/munezaclovis/setup/refs/heads/main/install.sh -o setup.sh
bash setup.shAfter installation, you can update all installed packages using:
./update.shThis will update all Homebrew packages and dependencies to their latest versions.
The installer will:
- Install Xcode Command Line Tools (if not present)
- Install Homebrew package manager
- Install Oh My Zsh with plugins (zsh-autosuggestions, fzf-tab, etc...)
- Install development tools:
- Docker Desktop and Docker Compose
- GitHub CLI (gh)
- AWS CLI
- Node.js tooling (fnm, pnpm, bun)
- Development utilities (fzf, eza, zoxide, starship)
- Configure dnsmasq for
.testdomain resolution - Setup Docker networks (traefik, haproxy)
- Copy configuration files (.zshrc, .env.sh)
- Create symlinks for scripts in ./scripts to ~/.local/bin
- Install OpenCode CLI tool
- Create necessary directories (~/.local/bin, ~/.docker/completions, etc.)
After installation:
- Restart your terminal or run:
source ~/.zshrc - Configure your
.env.shfile with necessary environment variables - Test .test domain resolution:
dscacheutil -q host -a name test.test