CLI Reference
prefect dev
Internal Prefect development.
Note that many of these commands require extra dependencies (such as npm and MkDocs) to function properly.
prefect dev build-docs
Builds REST API reference documentation for static display.
prefect dev build-ui
Installs dependencies and builds UI locally. Requires npm.
prefect dev ui
Starts a hot-reloading development UI.
prefect dev api
Starts a hot-reloading development API.
prefect dev start
Starts a hot-reloading development server with API, UI, and agent processes.
Each service has an individual command if you wish to start them separately. Each service can be excluded here as well.
prefect dev build-image
Build a docker image for development.
prefect dev container
Run a docker container with local code mounted and installed.
prefect dev kubernetes-manifest
Generates a Kubernetes manifest for development.
Was this page helpful?