mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Use XDG (i.e. ~/.local/bin
) instead of the Cargo home directory in the installer (#8420)
Reviving https://github.com/astral-sh/uv/pull/2236 Basically implements https://github.com/axodotdev/cargo-dist/issues/287
This commit is contained in:
parent
8034de7295
commit
383d4e774b
3 changed files with 9 additions and 6 deletions
|
@ -2,8 +2,11 @@
|
|||
|
||||
## Changing the install path
|
||||
|
||||
By default, uv is installed to `~/.cargo/bin`. To change the installation path, use
|
||||
`UV_INSTALL_DIR`:
|
||||
By default, uv is installed to `~/.local/bin`. If `XDG_BIN_HOME` is set, it will be used instead.
|
||||
Similarly, if `XDG_DATA_HOME` is set, the target directory will be inferred as
|
||||
`XDG_DATA_HOME/../bin`.
|
||||
|
||||
To change the installation path, use `UV_INSTALL_DIR`:
|
||||
|
||||
=== "macOS and Linux"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue