See USAGE.md for a guide to all tools and aliases.
# 1. Install Homebrew (also triggers Xcode CLT install if needed)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# 2. Add Homebrew to PATH for this session
eval "$(/opt/homebrew/bin/brew shellenv)"
# 3. Clone dotfiles
mkdir -p ~/Developer/github.com/hyperspacemark
git clone https://github.com/hyperspacemark/dotfiles ~/Developer/github.com/hyperspacemark/dotfiles
# 4. Bootstrap
cd ~/Developer/github.com/hyperspacemark/dotfiles
./install.sh
brew bundle --file ./Brewfile
./macos.shRestart the terminal, then complete the manual steps below.
# 1. Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# 2. Add Homebrew to PATH for this session
eval "$(/opt/homebrew/bin/brew shellenv)"
# 3. Clone dotfiles
mkdir -p ~/Developer/github.com/hyperspacemark
git clone https://github.com/hyperspacemark/dotfiles ~/Developer/github.com/hyperspacemark/dotfiles
# 4. Bootstrap
cd ~/Developer/github.com/hyperspacemark/dotfiles
./install.sh --work
brew bundle --file ./Brewfile.work
./macos.shThen update ~/.gitconfig with your work email:
git config --global user.email "you@work.com"Restart the terminal, then complete the manual steps below.
git pull
./install.sh # personal
./install.sh --work # workThese can't be automated via symlinks:
code --install-extension is blocked by ZScaler SSL inspection. Install these manually via the VS Code marketplace UI:
eamodio.gitlenseditorconfig.editorconfigllvm-vs-code-extensions.lldb-dapswiftlang.swift-vscodetamasfe.even-better-tomlusernamehw.errorlensvscodevim.vim
After brew install gh and gh auth login, set:
gh config set color_labels enabled
gh alias set pv 'pr view --web'
gh alias set il 'issue list'install.sh creates two stubs automatically:
~/.zshrc.d/local.zsh— machine-specific shell config, gitignored~/.secrets— sourced bylocal.zsh, chmod 600 automatically
Just fill in ~/.secrets with your tokens:
# ~/.secrets — never commit this
export GITHUB_TOKEN=""
export ANTHROPIC_API_KEY=""
export CLOUDFLARE_API_TOKEN="" # personal onlyGenerate a dedicated key for commit signing:
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_signing -C "signing"Add the public key to GitHub → Settings → SSH keys → type: Signing.
Then register it as an allowed signer:
echo "$(git config user.email) namespaces=\"git\" $(cat ~/.ssh/id_ed25519_signing.pub)" > ~/.config/git/allowed-signers