Skip to content

Bootstrap scripts

The reference implementation is a single-file executable. A dk0 shell script (Unix) and a dk0.cmd Windows batch script are also available that bootstrap and run the single-file executable. They rely on a small set of external tools per platform; a different implementation may use different tools or none at all.

FileWhat
pwsh in PATHenter-object interactive shell (optional; searched 1st)
powershell in PATHenter-object interactive shell (optional; searched 2nd)
cmd in PATHenter-object interactive shell (fallback; searched last)
powershell.exe in PATHdk0.cmd batch script - for InvokeWebRequest (optional; searched 1st)
bitsadmin in PATHdk0.cmd batch script - for download (fallback; searched last)
certutil in PATHdk0.cmd batch script - verify sha256sums
FileWhat
/usr/bin/codesignexecutables are locally signed when -e GLOB_PATTERN
/bin/shenter-object interactive shell unless SHELL env var set
/bin/shdk0 shell script
/usr/bin/shasumdk0 shell script
/usr/bin/curldk0 shell script (optional; searched 1st)
/bin/curldk0 shell script (optional; searched 2nd)
/usr/bin/wgetdk0 shell script (optional; searched 3rd)
/bin/wgetdk0 shell script (fallback; searched last)
/usr/bin/mvdk0 shell script (optional; searched 1st)
/bin/mvdk0 shell script (fallback; searched last)
/usr/bin/rmdk0 shell script (optional; searched 1st)
/bin/rmdk0 shell script (fallback; searched last)
/usr/bin/unamedk0 shell script (optional; searched 1st)
/bin/unamedk0 shell script (fallback; searched last)
/usr/bin/awkdk0 shell script - to parse sha256sums (optional; searched 1st)
/bin/awkdk0 shell script (fallback; searched last)
FileWhat
/bin/shenter-object interactive shell unless SHELL env var set
/bin/shdk0 shell script
/usr/bin/shasumdk0 shell script (optional; searched 1st)
/usr/bin/sha256sumdk0 shell script (fallback; searched last)
/usr/bin/curldk0 shell script (optional; searched 1st)
/bin/curldk0 shell script (optional; searched 2nd)
/usr/bin/wgetdk0 shell script (optional; searched 3rd)
/bin/wgetdk0 shell script (fallback; searched last)
/usr/bin/mvdk0 shell script (optional; searched 1st)
/bin/mvdk0 shell script (fallback; searched last)
/usr/bin/rmdk0 shell script (optional; searched 1st)
/bin/rmdk0 shell script (fallback; searched last)
/usr/bin/unamedk0 shell script (optional; searched 1st)
/bin/unamedk0 shell script (fallback; searched last)
/usr/bin/awkdk0 shell script - to parse sha256sums (optional; searched 1st)
/bin/awkdk0 shell script (fallback; searched last)
/usr/bin/cygpathdk0 shell script (optional)