Skip to content

Commit

Permalink
Remove some missed references to ~/.cargo/bin (#8936)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb authored Nov 8, 2024
1 parent d052972 commit 980d25a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/uv-static/src/env_vars.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ uv respects the following environment variables:
- <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,
in lieu of the default GitHub Enterprise URL.
- <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.
Defaults to `~/.cargo/bin`.
Defaults to `~/.local/bin`.
- <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
the installer from modifying shell profiles or environment variables.
- <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
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/integration/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 980d25a

Please sign in to comment.