devx is available through several package managers and a direct download.
Linux / macOS
curl -fsSL https://raw.githubusercontent.com/dever-labs/dever/main/scripts/install.sh | shWindows (PowerShell)
iwr https://raw.githubusercontent.com/dever-labs/dever/main/scripts/install.ps1 | iexDownload a pre-built binary from GitHub Releases:
| Platform | File |
|---|---|
| Linux amd64 | devx-linux-amd64 |
| Linux arm64 | devx-linux-arm64 |
| macOS amd64 | devx-darwin-amd64 |
| macOS arm64 | devx-darwin-arm64 |
| Windows amd64 | devx-windows-amd64.exe |
| Windows arm64 | devx-windows-arm64.exe |
SHA-256 checksums are published alongside each release in checksums.txt.
# Replace <version> and <platform> with e.g. v1.0.0 and linux-amd64
curl -Lo devx https://github.com/dever-labs/dever/releases/download/<version>/devx-<platform>
chmod +x devx
sudo mv devx /usr/local/bin/devx
devx versionIf you don't have sudo or prefer a user-local install:
mkdir -p "$HOME/.local/bin"
mv devx "$HOME/.local/bin/devx"
# Add to PATH (add to ~/.bashrc, ~/.zshrc, etc.)
export PATH="$HOME/.local/bin:$PATH"- Download
devx-windows-amd64.exefrom the Releases page. - Rename it to
devx.exeand move it to a folder of your choice, e.g.C:\Tools\devx\. - Add that folder to your
PATH:- Open System Properties → Advanced → Environment Variables.
- Under User variables, select
Pathand click Edit. - Add a new entry:
C:\Tools\devx - Click OK and restart your terminal.
- Verify:
devx version
Alternatively, from PowerShell (no admin required):
$dir = "$env:LOCALAPPDATA\devx"
New-Item -ItemType Directory -Force -Path $dir | Out-Null
# Download
Invoke-WebRequest https://github.com/dever-labs/dever/releases/latest/download/devx-windows-amd64.exe `
-OutFile "$dir\devx.exe"
# Add to PATH for current user
$path = [System.Environment]::GetEnvironmentVariable("Path","User")
if ($path -notlike "*$dir*") {
[System.Environment]::SetEnvironmentVariable("Path", "$path;$dir", "User")
}
# Verify (in a new shell)
devx versionnpm install -g @dever-labs/devx
devx versionThe postinstall script downloads the correct binary for your OS and architecture from the GitHub release.
brew tap dever-labs/tap https://github.com/dever-labs/homebrew-tap
brew install devxTo upgrade:
brew upgrade devxchoco install devxTo upgrade:
choco upgrade devxwinget install dever-labs.devxTo upgrade:
winget upgrade dever-labs.devxRequires Go 1.21+.
git clone https://github.com/dever-labs/dever.git
cd dever
go build ./cmd/devx
./devx versionFor all platforms at once:
./scripts/build.sh # Linux/macOS
.\scripts\build.ps1 # Windows PowerShellBinaries are placed in dist/.
# Download the binary and checksums file
curl -LO https://github.com/dever-labs/dever/releases/latest/download/devx-linux-amd64
curl -LO https://github.com/dever-labs/dever/releases/latest/download/checksums.txt
# Verify
sha256sum --check --ignore-missing checksums.txtOn macOS use shasum -a 256 --check checksums.txt.
- Tag the commit:
git tag v1.2.3 && git push origin v1.2.3 - The release workflow automatically builds all six targets and creates a GitHub Release with binaries + checksums.
- Update the following manually after a release:
- Homebrew tap — copy
homebrew/devx.rbtodever-labs/homebrew-tap, fill in the new version and SHA-256 hashes. - WinGet — copy
winget/manifests tomicrosoft/winget-pkgsundermanifests/d/dever-labs/devx/<version>/, fill in version and SHA-256 hashes, open a PR. - Chocolatey — update the version in
chocolatey/devx.nuspec, runchoco pack, thenchoco push. - npm — update
versioninnpm/package.jsonand runnpm publish.
- Homebrew tap — copy