diff --git a/crates/uv-static/src/env_vars.rs b/crates/uv-static/src/env_vars.rs index 3b137863fe37..63dc454a7117 100644 --- a/crates/uv-static/src/env_vars.rs +++ b/crates/uv-static/src/env_vars.rs @@ -541,7 +541,7 @@ impl EnvVars { pub const UV_INSTALLER_GHE_BASE_URL: &'static str = "UV_INSTALLER_GHE_BASE_URL"; /// The directory in which to install uv using the standalone installer and `self update` feature. - /// Defaults to `~/.cargo/bin`. + /// Defaults to `~/.local/bin`. pub const UV_INSTALL_DIR: &'static str = "UV_INSTALL_DIR"; /// Used ephemeral environments like CI to install uv to a specific path while preventing diff --git a/docs/configuration/environment.md b/docs/configuration/environment.md index b86f54126bb9..0d0c1ccd8017 100644 --- a/docs/configuration/environment.md +++ b/docs/configuration/environment.md @@ -184,7 +184,7 @@ uv respects the following environment variables: - [`UV_INSTALLER_GHE_BASE_URL`](#UV_INSTALLER_GHE_BASE_URL): The URL from which to download uv using the standalone installer and `self update` feature, in lieu of the default GitHub Enterprise URL. - [`UV_INSTALL_DIR`](#UV_INSTALL_DIR): The directory in which to install uv using the standalone installer and `self update` feature. - Defaults to `~/.cargo/bin`. + Defaults to `~/.local/bin`. - [`UV_UNMANAGED_INSTALL`](#UV_UNMANAGED_INSTALL): Used ephemeral environments like CI to install uv to a specific path while preventing the installer from modifying shell profiles or environment variables. - [`INSTALLER_NO_MODIFY_PATH`](#INSTALLER_NO_MODIFY_PATH): Avoid modifying the `PATH` environment variable when installing uv using the standalone diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 8ef0d6092e75..03d0a7a59d55 100644 --- a/docs/guides/integration/docker.md +++ b/docs/guides/integration/docker.md @@ -92,7 +92,7 @@ ADD https://astral.sh/uv/install.sh /uv-installer.sh RUN sh /uv-installer.sh && rm /uv-installer.sh # Ensure the installed binary is on the `PATH` -ENV PATH="/root/.cargo/bin/:$PATH" +ENV PATH="/root/.local/bin/:$PATH" ``` Note this requires `curl` to be available.