Skip to content

Installation

The fastest way to install adtk:

Terminal window
go install github.com/zach-snell/adtk/cmd/adtk@latest

This installs the adtk binary to $GOPATH/bin (or $HOME/go/bin by default). Ensure this directory is in your PATH.

Terminal window
git clone https://github.com/zach-snell/adtk.git
cd adtk
./install.sh

The install script builds the binary with version info embedded and places it in ~/.local/bin/. Make sure this directory is in your PATH:

Terminal window
export PATH="$HOME/.local/bin:$PATH"

If you prefer to control the build process:

Terminal window
git clone https://github.com/zach-snell/adtk.git
cd adtk
go build -o adtk ./cmd/adtk

Move the resulting binary anywhere on your PATH.

Pre-built binaries for all platforms are available on the GitHub Releases page.

PlatformArchitectureFilename
Linuxamd64adtk-linux-amd64
Linuxarm64adtk-linux-arm64
macOSamd64 (Intel)adtk-darwin-amd64
macOSarm64 (Apple Silicon)adtk-darwin-arm64
Windowsamd64adtk-windows-amd64.exe
Terminal window
# Example: download for macOS Apple Silicon
curl -LO https://github.com/zach-snell/adtk/releases/latest/download/adtk-darwin-arm64
chmod +x adtk-darwin-arm64
mv adtk-darwin-arm64 ~/.local/bin/adtk
Terminal window
adtk --version