diff --git a/partials/docs/_flyctl_install.html.erb b/partials/docs/_flyctl_install.html.erb
index aa3000e27d..a405bbe38c 100644
--- a/partials/docs/_flyctl_install.html.erb
+++ b/partials/docs/_flyctl_install.html.erb
@@ -46,7 +46,7 @@ curl -L https://fly.io/install.sh | sh
Run the PowerShell install script:
```cmd
-pwsh -Command "iwr https://fly.io/install.ps1 -useb | iex"
+powershell -Command "Invoke-WebRequest https://fly.io/install.ps1 -UseBasicParsing | Invoke-Expression"
```
If you encounter an error saying the `pwsh` command is not found, `powershell` can be used instead, though we recommend [installing the latest version of PowerShell](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows).