floo previews manages isolated preview sandboxes for pushed GitHub branches. Use it when an agent needs a real deploy URL before opening a pull request or when you want to inspect and clean up existing previews from the terminal.
The command uses the same preview isolation contract as pull request previews. It deploys source from the app’s connected GitHub repository; it does not upload local dirty files.
up
Create or refresh a preview sandbox from a remote branch.--wait watches the deploy returned by the create call. It exits non-zero if that deploy fails.
Flags
| Flag | Default | Description |
|---|---|---|
--app, -a | inferred from config | App name or ID |
--branch | required | Remote GitHub branch to deploy into the preview sandbox |
--runtime | auto | Runtime hint for the deploy request |
--commit-sha | none | Specific remote commit SHA to deploy |
--ref | none | Remote Git ref to deploy |
--wait | off | Wait until the preview deploy finishes |
JSON output
list
List active preview sandboxes for an app.status
Show one preview sandbox.#123 when that PR number resolves to exactly one preview. If the identifier is ambiguous, pass the exact slug from floo previews list.
logs
Read logs for the latest deploy associated with a preview.Flags
| Flag | Default | Description |
|---|---|---|
--follow, -f | off | Stream logs |
--tail | 100 | Number of log lines to fetch |
delete
Delete a preview sandbox and its preview-owned resources.Flags
| Flag | Default | Description |
|---|---|---|
--app, -a | inferred from config | App name or ID |
--yes | off | Skip the confirmation prompt |
Failure Handling
| Symptom | Meaning | What to do |
|---|---|---|
| The preview deploy uses an old commit | The branch was not pushed before up ran | Push the branch or pass a remote commit/ref |
PREVIEW_MANAGED_SERVICE_ISOLATION_UNAVAILABLE | floo could not provision preview-owned managed resources | Fix the managed-service state and retry |
| Identifier is ambiguous | More than one preview matched the branch, URL, or PR identifier | Use the exact slug from floo previews list |
--wait exits non-zero | The returned deploy failed or timed out | Inspect floo previews status ... --json and floo previews logs ... |