Install the CLI
Runs on your machine. Secrets live in environment variables, not on drawertwo.com.
Binary (recommended)
Pick a build for your OS from Releases (public CDN). Verify with
checksums.txt.
chmod +x drawertwo-*-linux-amd64
mv drawertwo-*-linux-amd64 ~/.local/bin/drawertwo
drawertwo version
drawertwo doctor
From source
Requires Go 1.23+.
git clone https://github.com/abalous2894/drawer-two.git
cd drawer-two
make build
./bin/drawertwo doctor
First run (fixture, no staging)
drawertwo list
drawertwo run --fixture module-a-two-hands --variant safe
drawertwo run --fixture module-a-two-hands --variant leak # exit 1
Staging profile
Copy
examples/staging.example.yaml to .drawertwo/staging.yaml. Set env var names in the file, not secret values.
cp examples/staging.example.yaml .drawertwo/staging.yaml
export DRAWERTWO_STAGING_BASE_URL=https://your-staging.example
export DRAWERTWO_STAGING_BEARER=...
drawertwo validate-profile --ping
drawertwo run --scenario module-a-two-hands
Profile path: DRAWERTWO_PROFILE or .drawertwo/staging.yaml.
Exit codes
| Code | Meaning |
|---|---|
| 0 | SAFE |
| 1 | LEAK |
| 2 | NOT SURE |
| 3 | Misconfiguration |