From 705b6cd2a4651c99d29d711481c789a4d25f7abd Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Thu, 7 Nov 2024 16:13:35 -0800 Subject: [PATCH] [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. --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0edfdba74..d4603d6fd 100644 --- a/README.md +++ b/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