Skip to content

Commit 705b6cd

Browse files
authored
[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.
1 parent 8d66526 commit 705b6cd

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,25 @@ uv is backed by [Astral](https://astral.sh), the creators of
4848

4949
Install uv with our standalone installers, or from [PyPI](https://pypi.org/project/uv/):
5050

51-
```console
51+
```bash
5252
# On macOS and Linux.
53-
$ curl -LsSf https://astral.sh/uv/install.sh | sh
53+
curl -LsSf https://astral.sh/uv/install.sh | sh
54+
```
5455

56+
```bash
5557
# On Windows.
56-
$ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
58+
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
59+
```
5760

61+
```bash
5862
# With pip.
59-
$ pip install uv
63+
pip install uv
6064
```
6165

6266
If installed via the standalone installer, uv can update itself to the latest version:
6367

64-
```console
65-
$ uv self update
68+
```bash
69+
uv self update
6670
```
6771

6872
See the [installation documentation](https://docs.astral.sh/uv/getting-started/installation/) for

0 commit comments

Comments
 (0)