Install dk

Windows PowerShell:

[Net.ServicePointManager]::SecurityProtocol = 3072; irm https://diskuv.com/dk/install.ps1 | iex

macOS and Linux:

curl --proto '=https' --tlsv1.2 -sSf https://diskuv.com/dk/install.sh | sh

Each installer verifies the manifest, checks the SHA-256 of the dk1 and dk0 executables for your platform against it, and puts them on your PATH.

Verify it worked

dk1 --version

If your shell cannot find dk1, open a new terminal to load the updated PATH.

Run inside a project without installing

To build a project locally without installing dk, vendor the dk1 and dk0 wrapper scripts into the repository. The wrappers download and verify the binaries.

Windows PowerShell:

[Net.ServicePointManager]::SecurityProtocol = 3072; irm https://diskuv.com/dk/vendor.ps1 | iex

macOS and Linux:

curl --proto '=https' --tlsv1.2 -sSf https://diskuv.com/dk/vendor.sh | sh

Each command writes the four wrapper scripts, dk1, dk1.cmd, dk0 and dk0.cmd, into the current directory.

dk documentation →