Skip to content

Commit 980d25a

Browse files
authored
Remove some missed references to ~/.cargo/bin (#8936)
1 parent d052972 commit 980d25a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/uv-static/src/env_vars.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ impl EnvVars {
541541
pub const UV_INSTALLER_GHE_BASE_URL: &'static str = "UV_INSTALLER_GHE_BASE_URL";
542542

543543
/// The directory in which to install uv using the standalone installer and `self update` feature.
544-
/// Defaults to `~/.cargo/bin`.
544+
/// Defaults to `~/.local/bin`.
545545
pub const UV_INSTALL_DIR: &'static str = "UV_INSTALL_DIR";
546546

547547
/// Used ephemeral environments like CI to install uv to a specific path while preventing

docs/configuration/environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ uv respects the following environment variables:
184184
- <a id="UV_INSTALLER_GHE_BASE_URL"></a> [`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,
185185
in lieu of the default GitHub Enterprise URL.
186186
- <a id="UV_INSTALL_DIR"></a> [`UV_INSTALL_DIR`](#UV_INSTALL_DIR): The directory in which to install uv using the standalone installer and `self update` feature.
187-
Defaults to `~/.cargo/bin`.
187+
Defaults to `~/.local/bin`.
188188
- <a id="UV_UNMANAGED_INSTALL"></a> [`UV_UNMANAGED_INSTALL`](#UV_UNMANAGED_INSTALL): Used ephemeral environments like CI to install uv to a specific path while preventing
189189
the installer from modifying shell profiles or environment variables.
190190
- <a id="INSTALLER_NO_MODIFY_PATH"></a> [`INSTALLER_NO_MODIFY_PATH`](#INSTALLER_NO_MODIFY_PATH): Avoid modifying the `PATH` environment variable when installing uv using the standalone

docs/guides/integration/docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ ADD https://astral.sh/uv/install.sh /uv-installer.sh
9292
RUN sh /uv-installer.sh && rm /uv-installer.sh
9393

9494
# Ensure the installed binary is on the `PATH`
95-
ENV PATH="/root/.cargo/bin/:$PATH"
95+
ENV PATH="/root/.local/bin/:$PATH"
9696
```
9797

9898
Note this requires `curl` to be available.

0 commit comments

Comments
 (0)