Skip to content

Install

With a Go 1.26+ toolchain:

Terminal window
go install github.com/muthuishere/cljgo/cmd/cljgo@latest

This is the recommended path, and not only for convenience: cljgo build needs the Go toolchain anyway (see below), so anyone compiling a binary already has the one prerequisite go install asks for.

Grab a binary for your platform from the latest release (macOS/Linux/Windows, amd64 + arm64).

cljgo repl, cljgo run and Go interop work from the binary alone — no Go toolchain installed.

cljgo build additionally needs the Go toolchain on PATH: it emits Go source and invokes go build. A release binary pins the published runtime module in the generated go.mod (require github.com/muthuishere/cljgo v<version>), and the first build fetches it from the Go module proxy once per machine (~1 MB, a few seconds). For cgo-based interop features you also need a C toolchain with CGO_ENABLED=1.

Terminal window
cljgo version

Then head to the quickstart.

Questions or feedback on this page? Comment below with your GitHub account — comments are public and live in the project's GitHub Discussions.