diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs
index 3e45ed876d2f..7ca64ca27313 100644
--- a/crates/uv-cli/src/lib.rs
+++ b/crates/uv-cli/src/lib.rs
@@ -319,7 +319,7 @@ pub struct GlobalArgs {
/// See `--directory` to change the working directory entirely.
///
/// This setting has no effect when used in the `uv pip` interface.
- #[arg(global = true, long)]
+ #[arg(global = true, long, env = EnvVars::UV_PROJECT)]
pub project: Option This setting has no effect when used in the May also be set with the The Python interpreter to use for the run environment. If the interpreter request is satisfied by a discovered environment, the environment will be used. This setting has no effect when used in the May also be set with the The Python interpreter to use to determine the minimum supported Python version. See uv python to view supported request formats. This setting has no effect when used in the May also be set with the The Python interpreter to use for resolving and syncing. See uv python for details on Python discovery and supported request formats. This setting has no effect when used in the May also be set with the The Python interpreter to use for resolving and syncing. See uv python for details on Python discovery and supported request formats. This setting has no effect when used in the May also be set with the The Python interpreter to use for the project environment. By default, the first interpreter that meets the project’s This setting has no effect when used in the May also be set with the The Python interpreter to use during resolution. A Python interpreter is required for building source distributions to determine package metadata when there are not wheels. This setting has no effect when used in the May also be set with the Prune the given package from the dependency tree. Pruned packages will be excluded from the exported requirements file, as will any dependencies that are no longer required after the pruned package is removed. This setting has no effect when used in the May also be set with the Prune the given package from the display of the dependency tree The Python interpreter to use for locking and filtering. This setting has no effect when used in the May also be set with the The Python interpreter to use to build the run environment. See uv python for details on Python discovery and supported request formats. This setting has no effect when used in the May also be set with the The Python interpreter to use to build the tool environment. See uv python for details on Python discovery and supported request formats. This setting has no effect when used in the May also be set with the Upgrade a tool, and specify it to use the given Python interpreter to build its environment. Use with See uv python for details on Python discovery and supported request formats. This setting has no effect when used in the May also be set with the Use quiet output. Repeating this option, e.g., This setting has no effect when used in the May also be set with the Use quiet output. Repeating this option, e.g., This setting has no effect when used in the May also be set with the Use quiet output. Repeating this option, e.g., This setting has no effect when used in the May also be set with the Use quiet output. Repeating this option, e.g., This setting has no effect when used in the May also be set with the Use quiet output. Repeating this option, e.g., This setting has no effect when used in the May also be set with the Set the URL to use as the source for downloading PyPy installations. The provided URL will replace This setting has no effect when used in the May also be set with the Use quiet output. Repeating this option, e.g., This setting has no effect when used in the May also be set with the Use quiet output. Repeating this option, e.g., This setting has no effect when used in the May also be set with the Use quiet output. Repeating this option, e.g., This setting has no effect when used in the May also be set with the Use quiet output. Repeating this option, e.g., This setting has no effect when used in the May also be set with the The Python interpreter to use during resolution. A Python interpreter is required for building source distributions to determine package metadata when there are not wheels. This setting has no effect when used in the May also be set with the The Python interpreter into which packages should be installed. By default, syncing requires a virtual environment. A path to an alternative Python can be provided, but it is only recommended in continuous integration (CI) environments and should be used with caution, as it can modify the system Python installation.uv pip
interface.UV_PROJECT
environment variable.--python
, -p
pythonuv pip
interface.UV_PROJECT
environment variable.--python
, -p
pythonuv pip
interface.UV_PROJECT
environment variable.--python
, -p
pythonuv pip
interface.UV_PROJECT
environment variable.--python
, -p
pythonuv pip
interface.UV_PROJECT
environment variable.--python
, -p
pythonrequires-python
constraint is used.uv pip
interface.UV_PROJECT
environment variable.--python
, -p
pythonuv pip
interface.UV_PROJECT
environment variable.--prune
packageuv pip
interface.UV_PROJECT
environment variable.--prune
prune--python
, -p
pythonuv pip
interface.UV_PROJECT
environment variable.--python
, -p
pythonuv pip
interface.UV_PROJECT
environment variable.--python
, -p
pythonuv pip
interface.UV_PROJECT
environment variable.--python
, -p
python--all
to apply to all tools.uv pip
interface.UV_PROJECT
environment variable.--quiet
, -q
-qq
, will enable a silent mode in which uv will write no output to stdout.uv pip
interface.UV_PROJECT
environment variable.--quiet
, -q
-qq
, will enable a silent mode in which uv will write no output to stdout.uv pip
interface.UV_PROJECT
environment variable.--quiet
, -q
-qq
, will enable a silent mode in which uv will write no output to stdout.uv pip
interface.UV_PROJECT
environment variable.--quiet
, -q
-qq
, will enable a silent mode in which uv will write no output to stdout.uv pip
interface.UV_PROJECT
environment variable.--quiet
, -q
-qq
, will enable a silent mode in which uv will write no output to stdout.uv pip
interface.UV_PROJECT
environment variable.--pypy-mirror
pypy-mirrorhttps://downloads.python.org/pypy
in, e.g., https://downloads.python.org/pypy/pypy3.8-v7.3.7-osx64.tar.bz2
.uv pip
interface.UV_PROJECT
environment variable.--quiet
, -q
-qq
, will enable a silent mode in which uv will write no output to stdout.uv pip
interface.UV_PROJECT
environment variable.--quiet
, -q
-qq
, will enable a silent mode in which uv will write no output to stdout.uv pip
interface.UV_PROJECT
environment variable.--quiet
, -q
-qq
, will enable a silent mode in which uv will write no output to stdout.uv pip
interface.UV_PROJECT
environment variable.--quiet
, -q
-qq
, will enable a silent mode in which uv will write no output to stdout.uv pip
interface.UV_PROJECT
environment variable.--python
, -p
pythonuv pip
interface.UV_PROJECT
environment variable.--python
, -p
pythonuv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--python
, -p
pythonThe Python interpreter into which packages should be installed.
By default, installation requires a virtual environment. A path to an alternative Python can be provided, but it is only recommended in continuous integration (CI) environments and should be used with caution, as it can modify the system Python installation.
@@ -7225,6 +7249,7 @@ uv pip uninstall [OPTIONS]This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--python
, -p
pythonThe Python interpreter from which packages should be uninstalled.
By default, uninstallation requires a virtual environment. A path to an alternative Python can be provided, but it is only recommended in continuous integration (CI) environments and should be used with caution, as it can modify the system Python installation.
@@ -7360,6 +7385,7 @@ uv pip freeze [OPTIONS]This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--python
, -p
pythonThe Python interpreter for which packages should be listed.
By default, uv lists packages in a virtual environment but will show packages in a system Python environment if no virtual environment is found.
@@ -7581,6 +7607,7 @@ uv pip list [OPTIONS]This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--python
, -p
pythonThe Python interpreter for which packages should be listed.
By default, uv lists packages in a virtual environment but will show packages in a system Python environment if no virtual environment is found.
@@ -7718,6 +7745,7 @@ uv pip show [OPTIONS] [PACKAGE]...This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--python
, -p
pythonThe Python interpreter to find the package in.
By default, uv looks for packages in a virtual environment but will look for packages in a system Python environment if no virtual environment is found.
@@ -7928,6 +7956,7 @@ uv pip tree [OPTIONS]This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--prune
prunePrune the given package from the display of the dependency tree
--python
, -p
pythonThe Python interpreter for which packages should be listed.
@@ -8061,6 +8090,7 @@ uv pip check [OPTIONS]This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--python
, -p
pythonThe Python interpreter for which packages should be checked.
By default, uv checks packages in a virtual environment but will check packages in a system Python environment if no virtual environment is found.
@@ -8304,6 +8334,7 @@ uv venv [OPTIONS] [PATH]This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--prompt
promptProvide an alternative prompt prefix for the virtual environment.
By default, the prompt is dependent on whether a path was provided to uv venv
. If provided (e.g, uv venv project
), the prompt is set to the directory name. If not provided (uv venv
), the prompt is set to the current directory’s name.
This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--python
, -p
pythonThe Python interpreter to use for the build environment.
By default, builds are executed in isolated virtual environments. The discovered interpreter will be used to create those environments, and will be symlinked or copied in depending on the platform.
@@ -8852,6 +8884,7 @@ With these settings, the following two calls are equivalent:This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--publish-url
publish-urlThe URL of the upload endpoint (not the index URL).
Note that there are typically different URLs for index access (e.g., https:://.../simple
) and index upload.
This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--quiet
, -q
Use quiet output.
Repeating this option, e.g., -qq
, will enable a silent mode in which uv will write no output to stdout.
This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--quiet
, -q
Use quiet output.
Repeating this option, e.g., -qq
, will enable a silent mode in which uv will write no output to stdout.
This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--quiet
, -q
Use quiet output.
Repeating this option, e.g., -qq
, will enable a silent mode in which uv will write no output to stdout.
This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--quiet
, -q
Use quiet output.
Repeating this option, e.g., -qq
, will enable a silent mode in which uv will write no output to stdout.
This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--quiet
, -q
Use quiet output.
Repeating this option, e.g., -qq
, will enable a silent mode in which uv will write no output to stdout.
This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
This setting has no effect when used in the uv pip
interface.
May also be set with the UV_PROJECT
environment variable.
--quiet
, -q
Use quiet output.
Repeating this option, e.g., -qq
, will enable a silent mode in which uv will write no output to stdout.