Skip to main content
The CLI supports three authentication methods. Browser login is the default for interactive use; API keys are the right choice for CI/CD.

Methods

After a successful login the CLI drops you into the interactive REPL. Pass --no-interactive to skip it.

Session commands

Where credentials live

Credentials are stored locally in ~/.machina/credentials.json with 600 file permissions (owner read/write only).
Treat ~/.machina/credentials.json like any secret. An API key grants the same access as your account — never commit it or paste it into shared logs.

Environment variables

Environment variables override values in the config file — useful for CI:

Next up

Pick a project and run something →