Skip to content

Commit

Permalink
[UX] Split README's install code block into 3 (#8853)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
willingc authored Nov 8, 2024
1 parent 8d66526 commit 705b6cd
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 705b6cd

Please sign in to comment.