Skip to content

Installation

Ard requires Go 1.25 or later to build and run. Ensure Go is installed on the system:

Terminal window
go version

Downloading Pre-built Binaries (Linux/macOS)

Section titled “Downloading Pre-built Binaries (Linux/macOS)”

Pre-built binaries for Unix-based systems are available on the releases page. Download the binary for your operating system.

Extract the binary and add it to your PATH, or move it to a directory already in your PATH like /usr/local/bin/.

Currently, Ard is available only from source. Clone the repository and build:

Terminal window
git clone https://github.com/akonwi/ard.git
cd ard/compiler
go mod download
go build --tags=goexperiment.jsonv2 -o ard main.go

This creates an ard executable in the compiler directory.

To use Ard from anywhere, add the executable to the system PATH:

Terminal window
ard version

Create your first program.