Skip to content

Commit 624d06e

Browse files
authored
docs: Fix binary install commands for windows users (#2012)
This PR updates the documentation to fix installation commands compatible with the standard Windows Command Prompt (`cmd.exe`). Earlier it was targeted towards Powershell, which might not be used by many users using a Windows machine.
1 parent 9f27134 commit 624d06e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ To install Toolbox as a binary:
163163
> To install Toolbox as a binary on Windows (AMD64):
164164
>
165165
> ```powershell
166-
> # see releases page for other versions
167-
> $VERSION = "0.21.0"
168-
> Invoke-WebRequest -Uri "https://storage.googleapis.com/genai-toolbox/v$VERSION/windows/amd64/toolbox.exe" -OutFile "toolbox.exe"
166+
> :: see releases page for other versions
167+
> set VERSION=0.21.0
168+
> curl -o toolbox.exe "https://storage.googleapis.com/genai-toolbox/v%VERSION%/windows/amd64/toolbox.exe"
169169
> ```
170170
>
171171
> </details>

docs/en/getting-started/introduction/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ chmod +x toolbox
119119
To install Toolbox as a binary on Windows (AMD64):
120120

121121
```powershell
122-
# see releases page for other versions
123-
$VERSION = "0.21.0"
124-
Invoke-WebRequest -Uri "https://storage.googleapis.com/genai-toolbox/v$VERSION/windows/amd64/toolbox.exe" -OutFile "toolbox.exe"
122+
:: see releases page for other versions
123+
set VERSION=0.21.0
124+
curl -o toolbox.exe "https://storage.googleapis.com/genai-toolbox/v%VERSION%/windows/amd64/toolbox.exe"
125125
```
126126

127127
{{% /tab %}}

0 commit comments

Comments
 (0)