Installing dt from a package manager for your operating system will be the preferred way of installing and updating dt in the future.
Currently this is waiting on:
- The release of Zig 0.11.+
- Adoption of Zig 0.11.+ by package managers
- Package maintainers adding support
If you are not installing from a package manager (As of 2023-07, no one is!) you won't get updates. The project intends for installations from package managers to be the primary method of vending dt, and no independent update tool or script is planned.
If you already have an account at GitHub, it's recommended to subscribe only to release notifications for the GitHub project.
- Navigate to the project at https://github.com/so-dang-cool/dt
- Find and click the "Watch" button
- Choose "Custom" and then check only the "Releases" checkbox
It's not critical to follow every update, but the notifications can be useful as an occasional reminder until your package manager is supported.
Standalone, statically-compiled binaries of dt are available for many operating systems and computing architectures.
For now, it's recommended to place these somewhere local like
if you normally put this on your PATH.
Binaries can be downloaded from the GitHub repository's releases page:
The binares are produced in the context of github CI/CD workflows, and not produced on random laptops. They are "deployed" as attachments to releases automatically.
- Install Zig 0.11.+ (As of 2023-07, this requires the "master" release of Zig)
Clone and build:
git clone https://github.com/so-dang-cool/dt.git cd ./dt zig build -Doptimize=ReleaseSmall
The resulting binary will be available in
(Note: there is also a
./dt in the root of the project. This can be used
to run dt, but is intended for development reasons and is not a general
rtx x email@example.com -- crozbi so-dang-cool/dt
An experimental Docker container is available:
$ docker pull booniepepper/dt $ docker run -it booniepepper/dt '' dt 1.2.3 Learn from my mistakes - someone should. »
build.zig is pre-configured to compile for all
With the project cloned:
zig build cross