Installation
Supported platforms, requirements, and how to get Datakraften on your machine
Quick summary
Datakraften is designed for developer workstations. The primary target is WSL2 (Ubuntu or Fedora), but it also works on native Linux and macOS.
Common tasks
Quick install (recommended)
curl -fsSL https://datakraften.no/install | bashManual install
curl -fsSL -o dk https://github.com/sagathelab/datakraften/releases/latest/download/dk-linux-amd64Manual install
curl -fsSL -o dk.sha256 https://github.com/sagathelab/datakraften/releases/latest/download/dk-linux-amd64.sha256Manual install
sha256sum --check dk.sha256Supported platforms
Datakraften is designed for developer workstations. The primary target is WSL2 (Ubuntu or Fedora), but it also works on native Linux and macOS.
- **WSL2** (primary) — Ubuntu or Fedora distro on Windows. Full support for Windows-side editor detection (VS Code, Cursor) and Docker Desktop integration.
- **Linux** (native) — works on any Debian/Ubuntu or Fedora-based distro. APT, DNF, YUM, and PACMAN package managers are supported.
- **macOS** (experimental) — works with Homebrew as the native package manager. Some features (WSL-specific editor detection, Docker Desktop WSL integration) are skipped.
System requirements
Before installing, make sure your system meets these requirements:
- **OS** — Windows 10+ with WSL2 enabled (recommended), or any Linux distro with APT/DNF/YUM/PACMAN
- **Architecture** — x86_64 or ARM64
- **Internet** — the bootstrap script downloads tools from GitHub, npm, and Homebrew
- **sudo access** — system packages are installed with sudo
- **curl or wget** — needed for the one-liner install
Minimal disk usage: the dk CLI binary is ~15 MB. Total install (with all tools) can be 1-3 GB depending on the profile.
Quick install (recommended)
One command to download and run the bootstrap script:
What the script does:
- Detects your OS and architecture
- Downloads the latest dk binary from GitHub Releases
- Verifies the SHA256 checksum
- Installs to ~/.local/bin/dk
- Adds ~/.local/bin to PATH if not already present
After the script completes, close and reopen your terminal, or run source ~/.profile.
Manual install
Download the latest release from GitHub, verify the checksum, and install manually:
Replace linux-amd64 with linux-arm64, darwin-amd64, or darwin-arm64 as needed.
Or use the package manager of your choice: