Skip to main content
The pxxl CLI deploys folders, manages projects, variables, domains, databases, cron jobs, tunnels, webhooks, and servers.

Install

The same package is also the JavaScript SDK.

Sign in

Create an API key in Settings > Developer > API keys, then:
The key is checked, then saved to ~/.config/pxxl/config.json (readable only by you). pxxl logout deletes that file. In CI, skip login and set the key as an environment variable:

Environment variables

How the CLI finds your project

Commands that act on a project look in this order:
  1. The --project <id> flag (or a project id argument).
  2. projectId in pxxl.toml in the current folder (or --dir).
  3. A picker, if you’re in an interactive terminal.
pxxl deploy, pxxl init, and pxxl link write projectId to pxxl.toml. pxxl unlink removes it.

Teams

Projects can belong to you or to a team (called a spaceship).
Most commands also take --team <id> for a single run.

Common flags

Write flags as --flag value. Some commands also accept --flag=value, but the space form always works.

Files the CLI uses

Next: all commands.