An elegant, automated onboarding and bootstrapping system for setting up fresh macOS machines for development using the denver configuration repository.
This public repository contains the init script, which safely resolves the classic chicken-and-egg bootstrapping issue by installing Homebrew, downloading 1Password CLI (op) and GitHub CLI (gh), authenticating with 1Password to retrieve your personal access tokens, and securely cloning your private devenv repository to run the main installer.
To set up a brand new macOS machine, open the default macOS Terminal.app (not Kitty) and run the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/danshumaker/New-Machine/main/init)"- Installs Homebrew: Downloads and configures the latest Homebrew package manager non-interactively.
- Installs Bootstrap Utilities: Installs
1password-cliandghvia Homebrew. - Connects to 1Password: Configures your 1Password CLI client for securely accessing your GitHub Access Token (
GH_TOKEN). - Authenticates GitHub CLI: Uses your secure
GH_TOKENfrom 1Password to log into GitHub CLI seamlessly. - Clones Denver Repository: Clones your private
danshumaker/devenvrepository. - Hands-Off Setup: Launches the main interactive
./installscript to complete your environment installation!
- Switch from https to ssh gh protocol. https has git push issues.