Skip to content

Latest commit

 

History

History
81 lines (61 loc) · 2.28 KB

File metadata and controls

81 lines (61 loc) · 2.28 KB

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

DevSpace is a client-only binary. It is super lightweight, does not require any server-side component, and it does not have any dependencies.

<Tabs defaultValue="npm" values={[ { label: 'npm', value: 'npm', }, { label: 'yarn', value: 'yarn', }, { label: 'brew', value: 'brew', }, { label: 'Mac', value: 'mac', }, { label: 'Linux', value: 'linux', }, { label: 'Windows Powershell', value: 'windows-ps', }, { label: 'Windows Scoop', value: 'windows-scoop', }, ] }>

npm install -g devspace
yarn global add devspace
brew install devspace
# AMD64 / Intel
curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/download/devspace-darwin-amd64" && sudo install -c -m 0755 devspace /usr/local/bin

# ARM64 / Silicon Mac
curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/download/devspace-darwin-arm64" && sudo install -c -m 0755 devspace /usr/local/bin
# AMD64
curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/download/devspace-linux-amd64" && sudo install -c -m 0755 devspace /usr/local/bin

# ARM64
curl -L -o devspace "https://github.com/loft-sh/devspace/releases/latest/download/devspace-linux-arm64" && sudo install -c -m 0755 devspace /usr/local/bin
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" -OutFile $Env:APPDATA\devspace\devspace.exe;
$env:Path += ";" + $Env:APPDATA + "\devspace";
[Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User);
scoop install devspace

Alternatively, you can simply download the binary for your platform from the GitHub Releases page and add this binary to your PATH.