@@ -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;
4444sudo 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;
4848sudo 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;
5757sudo 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;
6161sudo install devspace /usr/local/bin;
6262```
6363
@@ -66,7 +66,7 @@ sudo install devspace /usr/local/bin;
6666
6767``` powershell {4}
6868md -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