# Install and deploy

```sh
uvx --no-cache --isolated --from 'verulla-cli==0.0.8' verulla --help
uv tool install --no-cache --force 'verulla-cli==0.0.8'
export PATH="$(uv tool dir --bin):$PATH"
```

The published CLI pin is `verulla-cli==0.0.8`. Use `verulla pro APP` to move an
app from its free trial to paid Pro, and `verulla trial status APP` or
`verulla trial events APP --cursor CURSOR` to inspect its trial lifecycle. The
older `verulla live` and `verulla sketch` spellings remain working aliases.

The CLI defaults to `https://api.verulla.app`. Set `VERULLA_API_URL` or pass
`--api-url` to use a different control-plane URL.

Python 3.12 or newer is required. If the agent runner has outbound network
restrictions, allow HTTPS to `api.verulla.app` and app hosts under
`*.verulla.app` before requesting deployment; otherwise an agent-side smoke test
cannot reach the API or deployed app.

The free trial supplies fixed resource limits. Remove any function-level `limits:` block
from the manifest. The API rejects it with:

```text
deploy failed (400): invalid manifest: Free-trial apps have fixed limits; user limits are not allowed
```

The platform sets the limits for the free 72-hour trial. Pro is the paid plan
for keeping an app online after the trial. To move an app to Pro, use
`verulla pro APP`; the agent guide explains the wallet and owner spending-limit
steps.

To deploy, first get the app owner's verified email and tenant name from them; never guess either. Signup creates a tenant and returns a short-lived API key and a one-time owner-claim URL. Keep both private; the owner must sign in and claim the tenant themselves.

```sh
verulla signup --owner-email OWNER_EMAIL --display-name TENANT_NAME
```

Download the minimal FastAPI starter, then deploy and wait for runtime health readiness:

```sh
mkdir my-app && cd my-app
curl -fsS https://verulla.com/starter/verulla.yml -o verulla.yml
curl -fsS https://verulla.com/starter/main.py -o main.py
curl -fsS https://verulla.com/starter/requirements.txt -o requirements.txt
verulla deploy . --wait
```

For a post-deploy smoke test, allow outbound HTTPS to `*.verulla.app` and
`api.verulla.app` from the agent runner. If deployment succeeded but the check
cannot connect to the app URL, fix the runner's allowlist and retry the check;
that network failure does not mean the deployment failed.

For an existing app, routing, runtime/port, environment variables and secrets,
storage, recovery, and the full safety protocol, read the
[full agent guide](/docs/agent-guide.md) before proceeding. Never expose an API
key or claim URL, and never complete the owner's claim on their behalf.
