Skip to main content
The CLI works fully offline. Connecting it to your dashboard at prescale.dev/dashboard keeps a history of every run, a capacity timeline per site, and shareable reports.
1

Log in

Your browser opens on the dashboard with a short code. Check it matches the one in your terminal and click Approve. The CLI is signed in a second later; its token is saved to ~/.config/prescale/credentials.json, readable only by you.
2

Upload a run

The CLI prints a link to the run. The first upload for a new site adds it as a target.

Upload later, or check first

An upload is the saved run file, unchanged. See what gets uploaded.

Logged-in routes

Pass request headers with -H. They go to your site only and are never saved or uploaded.

No browser on that machine

On a server or over SSH, prescale login prints the approval link instead of opening a browser: open it on any device where you’re signed in. --no-browser does the same anywhere. Or create a token under Connect and run prescale login --paste.

In CI

Set PRESCALE_TOKEN (and PRESCALE_URL if you self-host) instead of running prescale login. For pull requests, use the GitHub Action.

Tokens

Each approved login shows up on the Connect page as CLI · <machine name>. Revoke a token there at any time: the CLI using it stops working immediately and tells you to log in again. prescale logout forgets the saved token on this machine.