C

Coder CLI

CLI discovered

Details
Command
coder
Docs
https://coder.com/docs/reference/cli
Authentication
Coder session token bearer discovered Get token ↗
$ coder login https://<your-coder-deployment>

Create a long-lived token from your own Coder deployment. The docs show two easy paths: visit [your Coder deployment]/settings/tokens (for example https://coder.example.com/settings/tokens) from the REST API quickstart, or run coder tokens create after logging in with the CLI as shown in the Authentication docs. Use the resulting token with the Coder API.