mirror of https://github.com/astral-sh/uv
Move the "Cargo" install method further down in docs (#14842)
Closes https://github.com/astral-sh/uv/issues/14835
This commit is contained in:
parent
21fadbcc13
commit
788b70f0fe
|
|
@ -88,15 +88,6 @@ $ pip install uv
|
||||||
[contributing setup guide](https://github.com/astral-sh/uv/blob/main/CONTRIBUTING.md#setup)
|
[contributing setup guide](https://github.com/astral-sh/uv/blob/main/CONTRIBUTING.md#setup)
|
||||||
for details on building uv from source.
|
for details on building uv from source.
|
||||||
|
|
||||||
### Cargo
|
|
||||||
|
|
||||||
uv is available via Cargo, but must be built from Git rather than [crates.io](https://crates.io) due
|
|
||||||
to its dependency on unpublished crates.
|
|
||||||
|
|
||||||
```console
|
|
||||||
$ cargo install --git https://github.com/astral-sh/uv uv
|
|
||||||
```
|
|
||||||
|
|
||||||
### Homebrew
|
### Homebrew
|
||||||
|
|
||||||
uv is available in the core Homebrew packages.
|
uv is available in the core Homebrew packages.
|
||||||
|
|
@ -136,6 +127,19 @@ uv release artifacts can be downloaded directly from
|
||||||
Each release page includes binaries for all supported platforms as well as instructions for using
|
Each release page includes binaries for all supported platforms as well as instructions for using
|
||||||
the standalone installer via `github.com` instead of `astral.sh`.
|
the standalone installer via `github.com` instead of `astral.sh`.
|
||||||
|
|
||||||
|
### Cargo
|
||||||
|
|
||||||
|
uv is available via Cargo, but must be built from Git rather than [crates.io](https://crates.io) due
|
||||||
|
to its dependency on unpublished crates.
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ cargo install --git https://github.com/astral-sh/uv uv
|
||||||
|
```
|
||||||
|
|
||||||
|
!!! note
|
||||||
|
|
||||||
|
This method builds uv from source, which requires a compatible Rust toolchain.
|
||||||
|
|
||||||
## Upgrading uv
|
## Upgrading uv
|
||||||
|
|
||||||
When uv is installed via the standalone installer, it can update itself on-demand:
|
When uv is installed via the standalone installer, it can update itself on-demand:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue