Bootstraps a developer machine with the baseline tools required to work on Trusted projects.
Supported platforms: macOS · Ubuntu · Omarchy
- Package management — Homebrew (macOS), apt (Ubuntu), pacman/yay (Omarchy)
- git — version control
- gh — GitHub CLI (+ authenticates with GitHub)
- mise — version manager for Ruby, Node, etc.
- Ruby — latest stable via mise (global default for
bin/setupscripts) - Node.js — LTS via mise (global default)
- Yarn — via corepack (ships with Node.js)
- op — 1Password CLI for secrets management
- CircleCI CLI — CI/CD pipeline management
- Build essentials — compilers and headers for native extensions
- Docker — container runtime
- Docker Compose — multi-container orchestration
- Colima — container runtime for macOS (macOS only)
- AWS CLI — Amazon Web Services CLI (no auth configured)
- AWS VPN Client — VPN client for AWS
- Private registries — Bundler and Yarn credentials for private packages
Open your terminal and paste the following command. Popular options are Ghostty and iTerm2.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trusted/setup/main/setup.sh)"Follow the instructions closely as you'll need to execute steps along the way.
Then get to your Work directory, clone, and set up any project:
cd ~/Work
gh repo clone trusted/<project>
cd <project> && bin/setupThe script is idempotent. Run it again at any time to ensure your tools are up to date and apply new migrations.
Locally from the cloned repo at ~/Work/setup:
bash ~/Work/setup/setup.shVia curl (fetches latest from GitHub):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trusted/setup/main/setup.sh)"Run doctor.sh at any time to check that all expected tools are installed and no migrations are pending. It never changes anything — only reports:
bash ~/Work/setup/doctor.shOne-time environment changes are tracked as migration scripts in migrations/. They run automatically at the end of setup and are only executed once per machine.
To re-run a specific migration:
bash ~/Work/setup/setup.sh --rerun <timestamp>See ARCHITECTURE.md for the full design document.