Skip to content

Installation

The install script downloads the latest release binary to ~/.local/bin:

Terminal window
curl -fsSL https://raw.githubusercontent.com/zach-snell/jtk/main/install.sh | bash

Make sure ~/.local/bin is in your PATH:

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

If you have Go installed:

Terminal window
go install github.com/zach-snell/jtk/cmd/jtk@latest
Terminal window
git clone https://github.com/zach-snell/jtk.git
cd jtk
mise run build
# Binary is at bin/jtk

The mise run build command runs:

Terminal window
go build -ldflags='-s -w' -o bin/jtk ./cmd/jtk

To build and install directly to ~/.local/bin:

Terminal window
mise run install

Or for rapid iteration during development:

Terminal window
mise run link
Terminal window
jtk --version

You should see output like:

jtk version v0.1.0