Skip to content

Install

Latest release v0.6.6 · today

kdef ships as a single self-contained binary. Zero runtime dependencies.

Terminal window
go install github.com/gsid-nl/kdef/cmd/kdef@latest
go install github.com/gsid-nl/kdef/cmd/kdef-lsp@latest

This is the fastest way if you already have Go installed.

Linux, macOS, and Windows binaries (amd64 + arm64) are attached to every release.

Terminal window
# Example: Linux amd64
curl -L -o kdef https://github.com/gsid-nl/kdef/releases/latest/download/kdef-linux-amd64
chmod +x kdef
sudo mv kdef /usr/local/bin/
kdef version

Native .deb, .rpm, and .apk packages are also published on each release.

Terminal window
# Debian / Ubuntu
curl -LO https://github.com/gsid-nl/kdef/releases/latest/download/kdef_amd64.deb
sudo dpkg -i kdef_amd64.deb
# Fedora / RHEL
sudo rpm -i https://github.com/gsid-nl/kdef/releases/latest/download/kdef_amd64.rpm
# Alpine
sudo apk add --allow-untrusted kdef_amd64.apk
Terminal window
git clone https://github.com/gsid-nl/kdef.git
cd kdef
make build # produces ./kdef and ./kdef-lsp
make build-all # cross-compile: linux, macOS, windows × amd64, arm64
make package # .deb, .rpm, .apk (requires nfpm)
Terminal window
kdef version
# kdef vX.Y.Z (commit abcdef1, built 2026-04-19)
  • Already have a cluster? Jump to the Quickstart — it imports a live namespace and deploys it back in five minutes.
  • Starting from nothing? The API-with-sidecar guide builds a realistic deployment from scratch.
  • Using VS Code or a JetBrains IDE? Set up the language server for live diagnostics.