This repository contains scripts and templates to bootstrap and manage your macOS developer workstation.
bootstrap.sh→ Installs tools, configures shell, and prepares workstation.uninstall.sh→ Cleans up installed tools and configs.client-template/→ Standard starter template for new client projects.
git clone [email protected]:<your-org-or-user>/workstation-bootstrap.git ~/dev/setup/workstation-bootstrap
cd ~/dev/setup/workstation-bootstrap
./bootstrap.shmkdir -p ~/clients/<client-name>
cp -r ~/dev/setup/workstation-bootstrap/client-template/* ~/clients/<client-name>/
cd ~/clients/<client-name>
direnv allow
asdf installThen edit ~/clients/<client-name>/.gitconfig with your client identity
-
Global Git config (
~/.gitconfig) Installed bybootstrap.sh. Contains your personal identity, aliases, and global ignore rules. It can include client-specific configs usingincludeIf -
Client-specific Git config (
~/clients/<client-name>/.gitconfig) Each client folder includes its own.gitconfig. Add an include block to your global config (only once per client):[includeIf "gitdir:~/clients/<client-name>/"] path = ~/clients/<client-name>/.gitconfig
This ensures that any repo inside the client folder uses the correct Git identity.
cd ~/dev/setup/workstation-bootstrap
./uninstall.sh