pip, run:
More commands for power users
More commands for power users
If you use uv
start an ipython shell with python 3.12 and prefect installed:uv virtual environment:uvx:If you use docker
run prefect server in a container port-forwarded to your local machine’s 4200 port:Windows installation
You can install and run Prefect via Windows PowerShell, the Windows Command Prompt, or conda. After installation, you may need to manually add the Python local packagesScripts folder to your Path environment variable.
The Scripts folder path looks something like:
pip install output messages for the Scripts folder path on your system.
Minimal Prefect installation
Theprefect-client library is a minimal installation of Prefect designed for interacting with Prefect Cloud or a remote self-hosted Prefect server instance.
prefect-client enables a subset of Prefect’s capabilities with a smaller installation size, making it ideal for use in lightweight, resource-constrained, or ephemeral environments.
It omits all CLI and server components found in the prefect library.
To install the latest release of prefect-client, run:
Next steps
You also need an API server, either:- Prefect Cloud, a managed solution that provides strong scaling, performance, and security, or
- Self-hosted Prefect server, an API server that you run on your own infrastructure where you are responsible for scaling and any authentication and authorization.