floo run creates a short-lived dev session to fetch the service’s env vars (DATABASE_URL, REDIS_URL, custom vars set via floo env), authorizes direct Postgres connections if the app uses managed Postgres, runs the command in the service’s directory, then tears the session down on exit.
The command’s exit code is propagated exactly, so a failing test suite returns non-zero.
-- is the command to execute. Use -- so flags on your command aren’t interpreted by floo.
Flags
Examples
How it differs from floo dev
floo devstarts a long-lived local server bound to a port, with cross-service discovery sowebcan reachapiathttp://localhost:<port>.floo runis portless and single-shot. No local server, no cross-service discovery — just env vars + Postgres auth for the duration of the command.
floo dev to run your app locally against cloud credentials. Use floo run to execute a script or test suite against them.