mirror of https://github.com/astral-sh/uv
[UX] Split README's install code block into 3 (#8853)
- Broke up the large code block into 3 blocks so that copy paste icon works Howdy Astral friends! This is a small PR which is a small user experience improvement for smooth installs.
This commit is contained in:
parent
8d665267cd
commit
705b6cd2a4
16
README.md
16
README.md
|
|
@ -48,21 +48,25 @@ uv is backed by [Astral](https://astral.sh), the creators of
|
|||
|
||||
Install uv with our standalone installers, or from [PyPI](https://pypi.org/project/uv/):
|
||||
|
||||
```console
|
||||
```bash
|
||||
# On macOS and Linux.
|
||||
$ curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
```bash
|
||||
# On Windows.
|
||||
$ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
|
||||
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
|
||||
```
|
||||
|
||||
```bash
|
||||
# With pip.
|
||||
$ pip install uv
|
||||
pip install uv
|
||||
```
|
||||
|
||||
If installed via the standalone installer, uv can update itself to the latest version:
|
||||
|
||||
```console
|
||||
$ uv self update
|
||||
```bash
|
||||
uv self update
|
||||
```
|
||||
|
||||
See the [installation documentation](https://docs.astral.sh/uv/getting-started/installation/) for
|
||||
|
|
|
|||
Loading…
Reference in New Issue