diff --git a/docs/pages/_partials/install-cli.mdx b/docs/pages/_partials/install-cli.mdx index 35ea691f01..15472521bb 100644 --- a/docs/pages/_partials/install-cli.mdx +++ b/docs/pages/_partials/install-cli.mdx @@ -63,7 +63,7 @@ curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/downloa ```powershell md -Force "$Env:APPDATA\devspace"; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12'; -Invoke-WebRequest -URI "https://github.com/loft-sh/devspace/releases/latest/download/devspace-windows-amd64.exe" -o $Env:APPDATA\devspace\devspace.exe; +Invoke-WebRequest -URI "https://github.com/loft-sh/devspace/releases/latest/download/devspace-windows-amd64.exe" -OutFile $Env:APPDATA\devspace\devspace.exe; $env:Path += ";" + $Env:APPDATA + "\devspace"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User); ``` diff --git a/docs/versioned_docs/version-4.x/getting-started/installation.mdx b/docs/versioned_docs/version-4.x/getting-started/installation.mdx index 1f103eb926..9f8574f086 100644 --- a/docs/versioned_docs/version-4.x/getting-started/installation.mdx +++ b/docs/versioned_docs/version-4.x/getting-started/installation.mdx @@ -48,7 +48,7 @@ curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/downloa ```powershell {4} md -Force "$Env:APPDATA\loft"; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12'; -Invoke-WebRequest -URI "https://github.com/loft-sh/devspace/releases/latest/download/devspace-windows-amd64.exe" -o $Env:APPDATA\loft\devspace.exe; +Invoke-WebRequest -URI "https://github.com/loft-sh/devspace/releases/latest/download/devspace-windows-amd64.exe" -OutFile $Env:APPDATA\loft\devspace.exe; $env:Path += ";" + $Env:APPDATA + "\loft"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User); ``` diff --git a/docs/versioned_docs/version-5.x/fragments/install-cli.mdx b/docs/versioned_docs/version-5.x/fragments/install-cli.mdx index 4168b75a7b..264286d5b4 100644 --- a/docs/versioned_docs/version-5.x/fragments/install-cli.mdx +++ b/docs/versioned_docs/version-5.x/fragments/install-cli.mdx @@ -62,7 +62,7 @@ curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/downloa ```powershell {4} md -Force "$Env:APPDATA\devspace"; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12'; -Invoke-WebRequest -URI "https://github.com/loft-sh/devspace/releases/latest/download/devspace-windows-amd64.exe" -o $Env:APPDATA\devspace\devspace.exe; +Invoke-WebRequest -URI "https://github.com/loft-sh/devspace/releases/latest/download/devspace-windows-amd64.exe" -OutFile $Env:APPDATA\devspace\devspace.exe; $env:Path += ";" + $Env:APPDATA + "\devspace"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User); ```