Skip to content

Commit f7dd6c2

Browse files
committed
docs: update install commands
1 parent b721566 commit f7dd6c2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/pages/_partials/install-cli.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ brew install devspace
4040

4141
```bash
4242
# AMD64 / Intel
43-
curl -s -L "https://github.com/loft-sh/devspace/releases/latest" | sed -nE 's!.*"([^"]*devspace-darwin-amd64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o devspace && chmod +x devspace;
43+
curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/download/devspace-darwin-amd64" && chmod +x devspace;
4444
sudo install devspace /usr/local/bin;
4545

4646
# ARM64 / Silicon Mac
47-
curl -s -L "https://github.com/loft-sh/devspace/releases/latest" | sed -nE 's!.*"([^"]*devspace-darwin-arm64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o devspace && chmod +x devspace;
47+
curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/download/devspace-darwin-arm64" && chmod +x devspace;
4848
sudo install devspace /usr/local/bin;
4949
```
5050

@@ -53,11 +53,11 @@ sudo install devspace /usr/local/bin;
5353

5454
```bash
5555
# AMD64
56-
curl -s -L "https://github.com/loft-sh/devspace/releases/latest" | sed -nE 's!.*"([^"]*devspace-linux-amd64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o devspace && chmod +x devspace;
56+
curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/download/devspace-linux-amd64" && chmod +x devspace;
5757
sudo install devspace /usr/local/bin;
5858

5959
# ARM64
60-
curl -s -L "https://github.com/loft-sh/devspace/releases/latest" | sed -nE 's!.*"([^"]*devspace-linux-arm64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o devspace && chmod +x devspace;
60+
curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/download/devspace-linux-arm64" && chmod +x devspace;
6161
sudo install devspace /usr/local/bin;
6262
```
6363

@@ -66,7 +66,7 @@ sudo install devspace /usr/local/bin;
6666

6767
```powershell {4}
6868
md -Force "$Env:APPDATA\devspace"; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12';
69-
Invoke-WebRequest -UseBasicParsing ((Invoke-WebRequest -URI "https://github.com/loft-sh/devspace/releases/latest" -UseBasicParsing).Content -replace "(?ms).*`"([^`"]*devspace-windows-amd64.exe)`".*","https://github.com/`$1") -o $Env:APPDATA\devspace\devspace.exe;
69+
Invoke-WebRequest -URI "https://github.com/loft-sh/devspace/releases/latest/download/devspace-windows-amd64.exe" -o $Env:APPDATA\devspace\devspace.exe;
7070
$env:Path += ";" + $Env:APPDATA + "\devspace";
7171
[Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User);
7272
```

0 commit comments

Comments
 (0)