` when possible.
3. You sign in with the normal Ornn web login flow.
4. Once the browser session is authenticated, the CLI device request is approved automatically.
5. The CLI stores the approved session in `~/.config/ornn/auth.json`.
If the browser cannot open automatically (for example, on a remote SSH machine), copy the printed URL into any browser, sign in there, and leave the terminal running. The terminal will keep polling until the browser login approves or the request expires.
```bash theme={null}
ornn login
```
Useful options:
```bash theme={null}
ornn login --no-browser
ornn login --auth-base https://compute.ornn.com
ornn login --timeout 600
```
## Commands
```bash theme={null}
ornn help [command]
ornn login [--auth-base ] [--no-browser] [--timeout ]
ornn update
ornn whoami [--json]
ornn status [--json]
ornn listings list [--gpu-type ] [--facility ] [--json]
ornn listings show [--open] [--json]
ornn buy [--no-open] [--json]
ornn exchange create --node-count [--min-node-count ] --start-date --end-date --price [--no-open] [--json]
ornn exchange list [--limit <1-500>] [--cursor ] [--json]
ornn exchange show [--open] [--json]
ornn exchange update --node-count --min-node-count --start-date --end-date --price
ornn exchange withdraw
ornn gpus list [--status ] [--limit <1-500>] [--cursor ] [--json]
ornn gpus show [--open] [--json]
ornn gpus checkout [--no-open] [--json]
ornn nodes list [--json]
ornn nodes show [--json]
ornn telemetry latest [--span 15m] [--start ] [--end ] [--max-points ] [--json]
ornn telemetry tail [--duration ] [--json]
ornn logs latest [--stream kernel] [--count ] [--before ] [--cursor ] [--json]
ornn logs tail [--stream kernel] [--duration ] [--json]
ornn nodes launch --key [--mode bare-metal|vm] [--username ] [--network public|private] [--storage-load-drive-id ] [--storage-save-drive-id ] [--wait] [--json]
ornn nodes switch --network public|private --key [--mode bare-metal|vm] [--username ] [--wait] [--json]
ornn nodes wait [--timeout ] [--json]
ornn nodes reboot [--json]
ornn nodes hard-reset [--json]
ornn nodes ssh-command [--json]
ornn nodes keys attach --key [--json]
ornn nodes keys list [--json]
ornn ssh [--print] [--identity-file ] [--user ] [--json]
ornn metrics nodes [--json]
ornn metrics node [--json]
ornn metrics history [--start ] [--end ] [--max-points ] [--json]
ornn metrics watch [--interval ] [--count ] [--timeout ] [--json]
ornn clusters list [--json]
ornn clusters reservations [--json]
ornn clusters eligible-nodes [--type kubernetes|slurm] [--network public|private] [--json]
ornn clusters create --type kubernetes|slurm [--network public|private] [--node ] [--node-count ] [--wait] [--json]
ornn clusters show [--type kubernetes|slurm] [--json]
ornn clusters wait [--type kubernetes|slurm] [--timeout ] [--json]
ornn clusters credentials [--type kubernetes|slurm] [--json]
ornn clusters kubeconfig [--output ] [--json]
ornn clusters ssh-command [--identity-file ] [--user ] [--json]
ornn clusters ssh [--print] [--identity-file ] [--user ] [--json]
ornn clusters add-node --node [--json]
ornn clusters remove-node --node [--json]
ornn clusters teardown [--type kubernetes|slurm] [--json]
ornn slurm launch [--network public|private] [--node ] [--node-count ] [--wait] [--wait-timeout ] [--json]
ornn slurm teardown [--json]
ornn slurm status [--json]
ornn slurm credentials [--json]
ornn slurm ssh [--print] [--identity-file ] [--user ] [--json]
ornn kubernetes launch [--network public|private] [--node ] [--node-count ] [--wait] [--wait-timeout ] [--json]
ornn kubernetes teardown [--json]
ornn kubernetes status [--json]
ornn kubernetes credentials [--json]
ornn kubernetes kubeconfig [--output ] [--json]
ornn networks list [--json]
ornn networks show [--json]
ornn networks create --name [--cidr ] [--description ] [--json]
ornn networks update [--name ] [--description ] [--clear-description] [--json]
ornn networks delete [--json]
ornn networks reservation [--json]
ornn networks attach --network [--json]
ornn networks detach [--json]
ornn storage volumes list [--json]
ornn storage volumes show [--json]
ornn storage volumes create --name [--source ] [--json]
ornn storage volumes refresh [--json]
ornn storage volumes clear [--json]
ornn storage volumes delete [--json]
ornn storage files ls [--prefix ] [--json]
ornn storage files upload [--destination ] [--content-type ] [--json]
ornn storage files download [--output ] [--json]
ornn storage targets [--json]
ornn storage deploy --reservation [--all-nodes] [--read-only|--read-write] [--json]
ornn storage detach --reservation [--json]
ornn storage filesystem deploy --reservation [--performance-tier ] [--capacity-gib ] [--json]
ornn storage filesystem status --reservation [--json]
ornn storage filesystem delete --reservation [--json]
ornn storage status --reservation [--watch] [--interval ] [--timeout ] [--json]
ornn storage buckets list [--json]
ornn storage buckets show [--json]
ornn storage buckets connect gcs|s3|r2 --bucket |--url [--name ] [--prefix ] [--region ] [--account-id |--endpoint-url ] [--access-key-id --secret-access-key-file ] [--read-only|--read-write] [--verify] [--json]
ornn storage buckets update-credentials --access-key-id --secret-access-key-file [--json]
ornn storage buckets verify [--json]
ornn storage buckets disconnect [--json]
ornn keys list [--json]
ornn keys add [] --label