Skip to main content
Run pxxl help <area> for the same information in your terminal. Arguments in [brackets] are optional. When a project or resource id is optional and you’re in a terminal, the CLI shows a picker.

Account

Set up a project

pxxl init flags: --new [template], --name <name>, --dir <path>, --domain <suffix>, --port <n>, --deploy, --no-deploy. Templates: astro-npm, dockerfile-node, express-bun, express-npm, express-pnpm, express-yarn, fastify-pnpm, go-http, hono-bun, microservices-node, nextjs-pnpm, node-typescript-npm, php-basic, python-django, python-fastapi, python-flask, rust-axum, static-cdn-gallery, sveltekit-pnpm, turbo-monorepo, vite-react-bun, vite-react-npm, vite-react-pnpm, vite-react-yarn, vue-vite-pnpm. Project names are 3 to 63 characters: lowercase letters, numbers, and hyphens.

Deploy

pxxl deploy flags: pxxl redeploy flags: --commit <sha> (or --sha), -m, --message <text>. pxxl watch flags: --project <id>, --once (stop after one build), --quiet. Uploads skip files in .pxxlignore, symlinks, and files that look like private keys (*.pem, *.key, id_rsa, credentials.json). The limit is 12,000 files and 220 MiB.

Projects

pxxl projects update flags: --build-command, --start-command, --install-command, --root (base directory), --branch, --framework, --node-version, --health-path, --name, --port.

Deployments

Logs and health

pxxl logs flags: --project <id>, --deployment <id>, -n, --lines <n> (default 100), --since 1h, -f, --follow, --build.

Run and test

pxxl dev picks npm run dev (or your package manager), python manage.py runserver, or go run .. Override with pxxl dev -- <command>. Flags: --port <n> (default 3000), --no-env, --tunnel. Your shell’s variables win over Pxxl’s. The process also gets PXXL_DEV=1.
pxxl curl flags: -X, --method, -H, --header "Name: value", -d, --data, -i, --include, --full, --url.

Environment variables

Add --global to list, diff, or push for workspace-wide variables. Redeploy after changes.

Domains

domains connect flags: --project <id>, --service <id> and --port <n> to route to one service in a monorepo. domains records flags: --type (default A), --name (default @), --value, --ttl (default 60), --priority, --record-id.

Reselling

Pro and up. Charged to your wallet. See Domain reseller.

Databases

db create flags: -n, --name, -t, --type (postgres, mysql, mariadb, mongodb, redis, keydb, dragonfly, clickhouse), --description, --project <id>, --daily-backups.

Cron jobs

cron create and update flags: --name, --schedule, --url, --method, --timeout <seconds>, --headers '<json>', --project <id>.

Storage and CDN

Put boolean flags such as --public after the file and bucket arguments.

Tunnels

Flags: --name, --auth user:password, --header "N: v", --response-header "N: v", --host-header rewrite|preserve|<host>, --strict-tls, --quiet. See Tunnels.

Webhooks

See Webhooks.

Checks

Servers

[server] is an id, name, or hostname. Leave it out if you have one server. See Servers.

Billing and invoices

Analytics

MCP

Talk to the Pxxl MCP server from the terminal. Output is JSON.