Command overview
The pms commands for projects, members, containers, registry credentials, databases, AI keys, catalog, events and access.
This page lists the command groups. Use pms <command> --help for all options. Read Sign in and choose a project first.
Projects
Section titled “Projects”pms project listpms project create <name> [--use]pms project showpms project rename <name>pms project deletepms project use <project>pms project usagepms project leavedelete needs a project with no resources. leave is for members. usage shows usage and limits.
Members
Section titled “Members”pms member listpms member invite <email>pms member remove <email|user-id>See Project members.
Containers
Section titled “Containers”pms container listpms container show <container>pms container create <name> --image <image> --size <size> [--registry-credential <cred>] [--runtime gvisor|native] [--port <port> ...] [-e KEY=VALUE ...] [--env-file <file>]pms container edit <container> [--image ...] [--size ...] [--port <port> ... | --clear-ports] [--set-env KEY=VALUE ...] [--set-env-file <file>] [--unset-env KEY ...]pms container edit <container> [-e KEY=VALUE ... | --env-file <file> | --clear-env]pms container start|stop|restart|delete <container> [--wait]pms container logs <container> [--tail N] [--previous] [--follow]App edits redeploy the container. --set-env and --unset-env change only the named variables (CLI 0.4.0). -e, --env-file and --clear-env replace all variables. You cannot use both kinds in one edit. See Containers and Private ports.
Registry credentials
Section titled “Registry credentials”pms registry-credential listpms registry-credential add <name> --host <host> --username <user> --token-stdinpms registry-credential delete <credential>With --token-stdin, the CLI reads the token from standard input. Without it, the CLI asks. See Registry credentials.
Databases
Section titled “Databases”pms db listpms db show <database>pms db create <name> [--size <size>] [--vector] [--wait]pms db delete <database> [--wait]pms db vector on|off <database>pms db reset-password <database>The password of a new database prints one time. To connect from your computer, see Networking.
Networking
Section titled “Networking”pms network show [--project P]pms network tailscale enable [--auth-key-file PATH]pms network tailscale disablepms network cloudflared enable [--token-file PATH]pms network cloudflared disablepms network expose <name> [--port N] [--via tailscale|cloudflared|both] [--external-port N]pms network unexpose <name> [--port N] [--via tailscale|cloudflared|both]show lists both connectors, their status and each target with its address. expose and unexpose change the targets of the connectors. <name> is a container or a database. The default for --via is both. It applies only to the connectors that exist. For expose, the default for --port is the only port of the container. If it has more than one port, give --port. For unexpose, no --port removes every port of that container or database. --external-port works only for Tailscale.
The token or key is read from a file, or from standard input when you give no file. Never give a token as a command-line value. See Tailscale and Cloudflare Tunnel.
AI keys
Section titled “AI keys”pms ai-key listpms ai-key show <key>pms ai-key create <name> --model <model> [--model <model> ...] --budget <usd>pms ai-key edit <key> [--model <model> ...] [--budget <usd>]pms ai-key rotate <key>pms ai-key delete <key>--model is required on create. On edit, the new list of models replaces the old list. rotate makes a new secret, and the old secret stops working. See AI keys.
Catalog
Section titled “Catalog”pms catalog [sizes|images|models]Shows the sizes, images and AI models that you can use.
Object storage
Section titled “Object storage”pms storage statuspms storage enable | disablepms storage bucket ls | create <name> | rm <name>pms storage key ls | create <name> [--read-only] [--bucket B ...] [--env] | reset <key-id> [--env] | rm <key-id>Sign in with pms login. API tokens cannot use object storage. See CLI commands for object storage.
Events
Section titled “Events”pms events [--follow]Shows recent events of the current project. With --follow, the CLI keeps the stream open.
Access
Section titled “Access”pms access showpms access request <reason>Containers need approval for each account. access show shows the state. access request asks for access. Say what you want to run.