View current configuration
To view all available settings and their active values from the command line, run:Configure settings for the active profile
To update a setting for the active profile, run:PREFECT_API_URL
setting to http://127.0.0.1:4200/api
, run:
PREFECT_API_URL
setting, run:
Create a new profile
To create a new profile, run:Configure settings for a project
To configure settings for a project, create aprefect.toml
or .env
file in the project directory and add the settings with the values you want to use.
For example, to configure the PREFECT_API_URL
setting to http://127.0.0.1:4200/api
, create a .env
file with the following content:
PREFECT_API_URL
setting to http://127.0.0.1:4200/api
in a prefect.toml
file, create a prefect.toml
file with the following content:
Configure temporary settings for a process
To configure temporary settings for a process, set an environment variable with the name matching the setting you want to configure. For example, to configure thePREFECT_API_URL
setting to http://127.0.0.1:4200/api
for a process, set the PREFECT_API_URL
environment variable to http://127.0.0.1:4200/api
.