Overview
Installing klio-compute also installs the klio command. klio --help lists every command, and --help after a command explains it.
| Command | What it does |
|---|---|
klio login | Sign in, or create an account. --browserless prints a link and a code instead of opening a browser. |
klio run app.py | Run a file's local entrypoint, or its only function. |
klio deploy app.py | Deploy every function and class in a file's App, or one handler as app.py:handler. |
klio gpus | Every GPU type, its price per hour right now, and whether it can start. Add --json for JSON. |
klio model deploy | Deploy an open model behind an OpenAI-compatible API. klio model list shows the models. |
klio migrate --check | Check a Modal project before changing anything. --write changes its import lines. |
klio app list | List running apps. info, logs and stop work on one app. |
klio deployment list | List deployments. klio deployment stop stops one by its id. |
klio task list | List tasks. klio task stop stops one. |
klio volume list | List volumes. create, put, get, ls, cp and delete work on them. |
klio secret list | List secrets. create, show and delete work on them. |
klio curl | Call a private endpoint with your key. |
klio logs | Read or follow workload logs. |
klio doctor | Check your connection and credentials. |
klio dashboard | Open the console. |
For agents and scripts
--jsongives machine-readable output, and errors come with acode. It implies--no-input.--no-inputturns off prompts.klio login --browserlesssigns in from a shell without a browser;KLIO_TOKENskips sign-in entirely.- Several workspaces:
klio login --name NAMEsaves a sign-in under its own context, and--context NAMEpicks it.