diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs
index 9399f94e0..affebc37f 100644
--- a/crates/uv-cli/src/lib.rs
+++ b/crates/uv-cli/src/lib.rs
@@ -234,7 +234,11 @@ pub struct GlobalArgs {
pub no_progress: bool,
/// Change to the given directory prior to running the command.
- #[arg(global = true, long, hide = true)]
+ ///
+ /// Relative paths are resolved with the given directory as the base.
+ ///
+ /// See `--project` to only change the project root directory.
+ #[arg(global = true, long)]
pub directory: Option May also be set with the Settings to pass to the PEP 517 build backend, specified as Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Limit candidate packages to those that were uploaded prior to the given date. Accepts both RFC 3339 timestamps (e.g., Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter to use for the run environment. While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Create a project for a library. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter to use to determine the minimum supported Python version. Add the requirements as development dependencies Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Add the requirements as editable Limit candidate packages to those that were uploaded prior to the given date. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter to use for resolving and syncing. Remove the packages from the development dependencies Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Limit candidate packages to those that were uploaded prior to the given date. Accepts both RFC 3339 timestamps (e.g., Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter to use for resolving and syncing. May also be set with the Settings to pass to the PEP 517 build backend, specified as Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Limit candidate packages to those that were uploaded prior to the given date. Accepts both RFC 3339 timestamps (e.g., Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter to use for the project environment. May also be set with the Settings to pass to the PEP 517 build backend, specified as Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Limit candidate packages to those that were uploaded prior to the given date. Accepts both RFC 3339 timestamps (e.g., Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter to use during resolution. May also be set with the Settings to pass to the PEP 517 build backend, specified as Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Limit candidate packages to those that were uploaded prior to the given date. Accepts both RFC 3339 timestamps (e.g., Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter to use during resolution. Maximum display depth of the dependency tree [default: 255] Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Limit candidate packages to those that were uploaded prior to the given date. Accepts both RFC 3339 timestamps (e.g., Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Prune the given package from the display of the dependency tree May also be set with the Settings to pass to the PEP 517 build backend, specified as Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Limit candidate packages to those that were uploaded prior to the given date. Accepts both RFC 3339 timestamps (e.g., Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter to use to build the run environment. May also be set with the Settings to pass to the PEP 517 build backend, specified as Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Limit candidate packages to those that were uploaded prior to the given date. Accepts both RFC 3339 timestamps (e.g., Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter to use to build the tool environment. May also be set with the Settings to pass to the PEP 517 build backend, specified as Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Limit candidate packages to those that were uploaded prior to the given date. Accepts both RFC 3339 timestamps (e.g., Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Whether to prefer uv-managed or system Python installations. While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Whether to load TLS certificates from the platform’s native certificate store. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Do not print any output While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Whether to load TLS certificates from the platform’s native certificate store. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Whether to prefer uv-managed or system Python installations. While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Whether to load TLS certificates from the platform’s native certificate store. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Whether to prefer uv-managed or system Python installations. While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Whether to load TLS certificates from the platform’s native certificate store. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Whether to prefer uv-managed or system Python installations. While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Whether to load TLS certificates from the platform’s native certificate store. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Whether to prefer uv-managed or system Python installations. While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Whether to load TLS certificates from the platform’s native certificate store. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Whether to prefer uv-managed or system Python installations. While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Whether to load TLS certificates from the platform’s native certificate store. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Whether to prefer uv-managed or system Python installations. While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Whether to load TLS certificates from the platform’s native certificate store. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Whether to prefer uv-managed or system Python installations. While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Whether to load TLS certificates from the platform’s native certificate store. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Whether to prefer uv-managed or system Python installations. While uv configuration can be included in a May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Display the concise help for this command Whether to load TLS certificates from the platform’s native certificate store. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the Whether to prefer uv-managed or system Python installations. Used to reflect custom build scripts and commands that wrap May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Include Include Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter to use during resolution. This is equivalent to pip’s May also be set with the Change to the given directory prior to running the command. Relative paths are resolved with the given directory as the base. See Perform a dry run, i.e., don’t actually install anything but resolve the dependencies and print the resulting plan Limit candidate packages to those that were uploaded prior to the given date. Other command-line arguments (such as relative paths) will be resolved relative to the current working directory. See This setting has no effect when used in the The Python interpreter into which packages should be installed.UV_CONFIG_FILE environment variable.--config-setting, -C config-settingKEY=VALUE pairs--directory directory--project to only change the project root directory.--exclude-newer exclude-newer2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.--directory to change the working directory entirely.uv pip interface.--python, -p pythonpyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--lib--directory to change the working directory entirely.uv pip interface.--python, -p python--dev--directory directory--project to only change the project root directory.--editable--exclude-newer exclude-newer--directory to change the working directory entirely.uv pip interface.--python, -p python--dev--directory directory--project to only change the project root directory.--exclude-newer exclude-newer2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.--directory to change the working directory entirely.uv pip interface.--python, -p pythonUV_CONFIG_FILE environment variable.--config-setting, -C config-settingKEY=VALUE pairs--directory directory--project to only change the project root directory.--exclude-newer exclude-newer2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.--directory to change the working directory entirely.uv pip interface.--python, -p pythonUV_CONFIG_FILE environment variable.--config-setting, -C config-settingKEY=VALUE pairs--directory directory--project to only change the project root directory.--exclude-newer exclude-newer2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.--directory to change the working directory entirely.uv pip interface.--python, -p pythonUV_CONFIG_FILE environment variable.--config-setting, -C config-settingKEY=VALUE pairs--directory directory--project to only change the project root directory.--exclude-newer exclude-newer2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.--directory to change the working directory entirely.uv pip interface.--python, -p python--depth, -d depth--directory directory--project to only change the project root directory.--exclude-newer exclude-newer2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.--directory to change the working directory entirely.uv pip interface.--prune pruneUV_CONFIG_FILE environment variable.--config-setting, -C config-settingKEY=VALUE pairs--directory directory--project to only change the project root directory.--exclude-newer exclude-newer2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.--directory to change the working directory entirely.uv pip interface.--python, -p pythonUV_CONFIG_FILE environment variable.--config-setting, -C config-settingKEY=VALUE pairs--directory directory--project to only change the project root directory.--editable, -e--exclude-newer exclude-newer2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.--directory to change the working directory entirely.uv pip interface.--python, -p pythonUV_CONFIG_FILE environment variable.--config-setting, -C config-settingKEY=VALUE pairs--directory directory--project to only change the project root directory.--exclude-newer exclude-newer2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.--directory to change the working directory entirely.uv pip interface.--python-preference python-preferencepyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--native-tls--directory to change the working directory entirely.uv pip interface.--quiet, -qpyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--native-tls--directory to change the working directory entirely.uv pip interface.--python-preference python-preferencepyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--native-tls--directory to change the working directory entirely.uv pip interface.--python-preference python-preferencepyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--native-tls--directory to change the working directory entirely.uv pip interface.--python-preference python-preferencepyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--native-tls--directory to change the working directory entirely.uv pip interface.--python-preference python-preferencepyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--native-tls--directory to change the working directory entirely.uv pip interface.--python-preference python-preferencepyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--native-tls--directory to change the working directory entirely.uv pip interface.--python-preference python-preferencepyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--native-tls--directory to change the working directory entirely.uv pip interface.--python-preference python-preferencepyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--native-tls--directory to change the working directory entirely.uv pip interface.--python-preference python-preferencepyproject.toml file, it is not allowed in this context.UV_CONFIG_FILE environment variable.--directory directory--project to only change the project root directory.--help, -h--native-tls--directory to change the working directory entirely.uv pip interface.--python-preference python-preferenceuv pip compile.UV_CUSTOM_COMPILE_COMMAND environment variable.--directory directory--project to only change the project root directory.--emit-build-options--no-binary and --only-binary entries in the generated output file--emit-find-links--find-links entries in the generated output file--directory to change the working directory entirely.uv pip interface.--python python--constraint option.UV_CONSTRAINT environment variable.--directory directory--project to only change the project root directory.--dry-run--exclude-newer exclude-newer--directory to change the working directory entirely.uv pip interface.--python, -p python--constraint option.
May also be set with the UV_CONSTRAINT environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--dry-runPerform a dry run, i.e., don’t actually install anything but resolve the dependencies and print the resulting plan
--editable, -e editableInstall the editable package based on the provided local file path
@@ -5362,6 +5552,8 @@ uv pip install [OPTIONS]See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python, -p pythonThe Python interpreter into which packages should be installed.
@@ -5557,6 +5749,12 @@ uv pip uninstall [OPTIONS]While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--help, -hDisplay the concise help for this command
--keyring-provider keyring-providerAttempt to use keyring for authentication for remote requirements files.
Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python, -p pythonThe Python interpreter from which packages should be uninstalled.
@@ -5686,6 +5886,12 @@ uv pip freeze [OPTIONS]While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--exclude-editableExclude any editable packages from output
--help, -hDisplay the concise help for this command
@@ -5721,6 +5927,8 @@ uv pip freeze [OPTIONS]Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python, -p pythonThe Python interpreter for which packages should be listed.
@@ -5799,6 +6007,12 @@ uv pip list [OPTIONS]While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--editable, -eOnly include editable projects
--exclude excludeExclude the specified package(s) from the output
@@ -5850,6 +6064,8 @@ uv pip list [OPTIONS]Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python, -p pythonThe Python interpreter for which packages should be listed.
@@ -5934,6 +6150,12 @@ uv pip show [OPTIONS] [PACKAGE]...While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--help, -hDisplay the concise help for this command
--native-tlsWhether to load TLS certificates from the platform’s native certificate store.
@@ -5967,6 +6189,8 @@ uv pip show [OPTIONS] [PACKAGE]...Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python, -p pythonThe Python interpreter to find the package in.
@@ -6048,6 +6272,12 @@ uv pip tree [OPTIONS]--depth, -d depthMaximum display depth of the dependency tree
[default: 255]
+--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--help, -hDisplay the concise help for this command
--invertShow the reverse dependencies for the given package. This flag will invert the tree and display the packages that depend on the given package
@@ -6087,6 +6317,8 @@ uv pip tree [OPTIONS]Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--prune prunePrune the given package from the display of the dependency tree
@@ -6169,6 +6401,12 @@ uv pip check [OPTIONS]While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--help, -hDisplay the concise help for this command
--native-tlsWhether to load TLS certificates from the platform’s native certificate store.
@@ -6202,6 +6440,8 @@ uv pip check [OPTIONS]Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python, -p pythonThe Python interpreter for which packages should be checked.
@@ -6311,6 +6551,12 @@ uv venv [OPTIONS] [PATH]While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--exclude-newer exclude-newerLimit candidate packages to those that were uploaded prior to the given date.
Accepts both RFC 3339 timestamps (e.g., 2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.
Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--prompt promptProvide an alternative prompt prefix for the virtual environment.
@@ -6544,6 +6792,12 @@ uv build [OPTIONS] [SRC]May also be set with the UV_CONFIG_FILE environment variable.
--config-setting, -C config-settingSettings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--exclude-newer exclude-newerLimit candidate packages to those that were uploaded prior to the given date.
Accepts both RFC 3339 timestamps (e.g., 2006-12-02T02:07:43Z) and local dates in the same format (e.g., 2006-12-02) in your system’s configured time zone.
Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python, -p pythonThe Python interpreter to use for the build environment.
@@ -6997,6 +7253,12 @@ uv cache clean [OPTIONS] [PACKAGE]...While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--help, -hDisplay the concise help for this command
--native-tlsWhether to load TLS certificates from the platform’s native certificate store.
@@ -7030,6 +7292,8 @@ uv cache clean [OPTIONS] [PACKAGE]...Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python-preference python-preferenceWhether to prefer uv-managed or system Python installations.
@@ -7098,6 +7362,12 @@ uv cache prune [OPTIONS]While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--help, -hDisplay the concise help for this command
--native-tlsWhether to load TLS certificates from the platform’s native certificate store.
@@ -7131,6 +7401,8 @@ uv cache prune [OPTIONS]Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python-preference python-preferenceWhether to prefer uv-managed or system Python installations.
@@ -7201,6 +7473,12 @@ uv cache dir [OPTIONS]While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--help, -hDisplay the concise help for this command
--native-tlsWhether to load TLS certificates from the platform’s native certificate store.
@@ -7234,6 +7512,8 @@ uv cache dir [OPTIONS]Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python-preference python-preferenceWhether to prefer uv-managed or system Python installations.
@@ -7296,6 +7576,12 @@ uv version [OPTIONS]While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--help, -hDisplay the concise help for this command
--native-tlsWhether to load TLS certificates from the platform’s native certificate store.
@@ -7329,6 +7615,8 @@ uv version [OPTIONS]Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python-preference python-preferenceWhether to prefer uv-managed or system Python installations.
@@ -7375,12 +7663,20 @@ uv generate-shell-completion [OPTIONS]--project projectRun the command within the given project directory.
+--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--project projectRun the command within the given project directory.
All pyproject.toml, uv.toml, and .python-version files will be discovered by walking up the directory tree from the project root, as will the project’s virtual environment (.venv).
Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
While uv configuration can be included in a pyproject.toml file, it is not allowed in this context.
May also be set with the UV_CONFIG_FILE environment variable.
--directory directoryChange to the given directory prior to running the command.
+ +Relative paths are resolved with the given directory as the base.
+ +See --project to only change the project root directory.
--help, -hDisplay the concise help for this command
--native-tlsWhether to load TLS certificates from the platform’s native certificate store.
@@ -7458,6 +7760,8 @@ uv help [OPTIONS] [COMMAND]...Other command-line arguments (such as relative paths) will be resolved relative to the current working directory.
+See --directory to change the working directory entirely.
This setting has no effect when used in the uv pip interface.
--python-preference python-preferenceWhether to prefer uv-managed or system Python installations.