Installation
Prerequisites
Section titled “Prerequisites”Ard requires Go 1.25 or later to build and run. Ensure Go is installed on the system:
go versionDownloading 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/.
Installing from Source
Section titled “Installing from Source”Currently, Ard is available only from source. Clone the repository and build:
git clone https://github.com/akonwi/ard.gitcd ard/compilergo mod downloadgo build --tags=goexperiment.jsonv2 -o ard main.goThis creates an ard executable in the compiler directory.
Add to PATH
Section titled “Add to PATH”To use Ard from anywhere, add the executable to the system PATH:
Verify Installation
Section titled “Verify Installation”ard version