Prerequisites¶
Before installing the DK CLI, make sure you have the following tools installed and configured.
Required Tools¶
Go 1.22+¶
The DK CLI is built with Go. You'll need Go 1.22 or later to build from source.
Download from go.dev/dl and follow the installation instructions.
Verify your installation:
Docker¶
Docker is required for local development and running pipelines.
Install Docker Desktop for Mac.
Install Docker Engine for your distribution.
Verify Docker is running:
kubectl (Optional)¶
Required only for Kubernetes operations like dk promote to production.
Verify kubectl:
System Requirements¶
| Component | Minimum | Recommended |
|---|---|---|
| CPU | 2 cores | 4+ cores |
| RAM | 4 GB | 8+ GB |
| Disk | 10 GB free | 20+ GB free |
| OS | macOS 12+, Linux (kernel 4.15+) | Latest macOS or Ubuntu LTS |
Network Requirements¶
The DK CLI requires network access to:
| Destination | Purpose |
|---|---|
github.com | Source code, releases |
ghcr.io | OCI registry for packages |
registry.hub.docker.com | Base container images |
Behind a Proxy?
Configure Docker and Go to use your proxy:
Next Steps¶
Once you have all prerequisites installed, proceed to: