pylon binary covers the full operator surface: dev loop, deploys, secrets, logs, db, data, domains, deployments, members, project health. Anything you can do from the Pylon Cloud dashboard, you can do from the CLI (and pipe to other shell tools).
Install + sign in
PYLON_CLOUD_URL overrides the default https://cloud.pylonsync.com for staging or self-hosted Pylon Cloud installs.
Project context
Most commands target a single project. Resolution order (first match wins):--project <slug>flag on the commandPYLON_PROJECTenv var.pylon/projectfile in cwd or any ancestor (written bypylon projects use)- Interactive picker (TTY only)
Deploy
pylon deploy (no flag) does the actual hosted deploy. The other targets write IaaS config files to ./deploy/.
Secrets
syncSecretsToFly immediately so the running machine sees the new value within ~10s (no redeploy required).
Logs
kind: unavailable (machine stopped, framework predates the tail endpoint, etc.) — backs off to 30s until the surface comes back.
Database
Data browser
Domains
pylon-<slug>.fly.dev hostname is always available regardless.
Deployments
Members
owner, admin, member.
Status
JSON mode
Every command accepts--json and emits parseable output for scripts:
Env vars
| Variable | Effect |
|---|---|
PYLON_CLOUD_URL | Override the cloud origin (staging / self-hosted) |
PYLON_PROJECT | Default project slug (overridden by --project) |
XDG_CONFIG_HOME | Where pylon login stashes credentials (defaults to ~/.config) |