Build Conjure from Source

Build Conjure from source code. Requires Go 1.24 or later.

Tip

Building from source is not required for most users. Prebuilt binaries are available on the downloads page.

Prerequisites

Verify Go is installed:

go version

Clone the Repository

git clone https://github.com/WizardOpsTech/conjure.git
cd conjure

Build

Using Make

make build

The binary is output to bin/conjure.

Using Go Directly

To build without Make:

go build -o bin/conjure main.go

Install

Move the binary to a directory on your PATH.

sudo mv bin/conjure /usr/local/bin/

Verify the installation:

conjure --version

Cross-Compilation

Build for a different platform using Go environment variables:

# Linux x86_64
GOOS=linux GOARCH=amd64 go build -o conjure-linux-amd64 .

# Linux arm64
GOOS=linux GOARCH=arm64 go build -o conjure-linux-arm64 .

# macOS Apple Silicon
GOOS=darwin GOARCH=arm64 go build -o conjure-darwin-arm64 .

# macOS Intel
GOOS=darwin GOARCH=amd64 go build -o conjure-darwin-amd64 .

# Windows x86_64
GOOS=windows GOARCH=amd64 go build -o conjure-windows-amd64.exe .

Next Steps