Add instructions for installing from Cargo (#6979)

This commit is contained in:
Zanie Blue 2024-09-03 19:24:55 -05:00 committed by GitHub
parent 2a425152b9
commit 1fd27d768e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,6 +77,15 @@ $ pip install uv
[contributing setup guide](https://github.com/astral-sh/uv/blob/main/CONTRIBUTING.md#setup)
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
uv is available in the core Homebrew packages.