Skip to content

Instantly share code, notes, and snippets.

@MatthewMaker
Created December 22, 2025 01:51
Show Gist options
  • Select an option

  • Save MatthewMaker/9e71f30eff1581c001c936b4316614e9 to your computer and use it in GitHub Desktop.

Select an option

Save MatthewMaker/9e71f30eff1581c001c936b4316614e9 to your computer and use it in GitHub Desktop.
bootstrap
# Dotfiles
Cross-platform dotfiles managed with [chezmoi](https://chezmoi.io) and secrets via 1Password.
## Fresh macOS Bootstrap
Paste this into Terminal on a new machine:
```bash
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"
# Install and authenticate 1Password
brew install --cask 1password 1password-cli
echo "Sign into 1Password app, then press enter"
read
eval $(op signin)
# Bootstrap dotfiles
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply \
https://$(op read "op://Private/GitHub Personal Access Token/token")@github.com/yourusername/dotfiles.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment