From afdcea6540f9c81ce7ce32064a97e9f16e1c16c6 Mon Sep 17 00:00:00 2001 From: FishAlchemist <48265002+FishAlchemist@users.noreply.github.com> Date: Thu, 19 Dec 2024 23:53:49 +0800 Subject: [PATCH] Supplement missing separators for UV_INSTALL_DIR in Windows. (#9507) ## Summary Ensure proper separation between instructions. fix #9503 ## Test Plan Both Windows Powershell (v5) and powershell 7 are available ![image](https://github.com/user-attachments/assets/9a73ea6f-8bee-49a1-b6d4-050317176cd6) --- docs/configuration/installer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/installer.md b/docs/configuration/installer.md index 76347741e..056cbcb93 100644 --- a/docs/configuration/installer.md +++ b/docs/configuration/installer.md @@ -17,7 +17,7 @@ To change the installation path, use `UV_INSTALL_DIR`: === "Windows" ```powershell - $env:UV_INSTALL_DIR = "C:\Custom\Path" powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" + powershell -ExecutionPolicy ByPass -c {$env:UV_INSTALL_DIR = "C:\Custom\Path";irm https://astral.sh/uv/install.ps1 | iex} ``` ## Disabling shell modifications