Improve PyPI install docs (#5118)

This commit is contained in:
Zanie Blue 2024-07-17 10:29:02 -04:00 committed by GitHub
parent b1501e64e2
commit 690a7b1cee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,7 @@ Note when all other installers are used, self updates are disabled.
## PyPI
For convenience, uv is published to [PyPI](https://pypi.org/project/uv/). When installed from PyPI, uv can be built from source but there are prebuilt distributions (wheels) for many platforms.
For convenience, uv is published to [PyPI](https://pypi.org/project/uv/).
If installing from PyPI, we recommend using `pipx` to install uv into an isolated environment:
@ -50,6 +50,8 @@ However, `pip` can also be used:
pip install uv
```
There are prebuilt distributions (wheels) for many platforms; if not available for a given platform, uv will be built from source which requires a Rust toolchain to be installed. See the [contributing setup guide](https://github.com/astral-sh/uv/blob/main/CONTRIBUTING.md#setup) for details on building uv from source.
## Homebrew
uv is available in the core Homebrew packages.