Installation
Authentication
~/.blacksmith/credentials. You only need to do this once per machine.
Tokens are scoped to an organization. If you’re authenticated with multiple organizations, select one with the --org flag or the BLACKSMITH_ORG environment variable. Check your authentication state with:
Token types
blacksmith auth login mints a user token tied to your GitHub identity. Its permissions mirror yours: Testbox warmup requires write access to the repository, reads require repository access, and you only see and manage your own testboxes. Cache and sticky disk reads require repository access; deletes require write access.
Organization admins can mint an organization token for machine agents (Cursor Cloud agents, CI bots) that need access across the whole organization:
blacksmith org-token list and blacksmith org-token revoke <id>.
Don’t hand agents a copy of
~/.blacksmith/credentials from a human login — that token is tied to that person’s permissions and lifecycle. Mint an org token instead.Command groups
Most commands support
--format json | table | yaml for output. JSON is the default, which makes the CLI easy to compose with tools like jq and easy for coding agents to consume.