Installation
From crates.io
If you have Rust installed:
cargo install intent-cli
This installs the intent binary to ~/.cargo/bin/.
Build from source
Requires Rust 1.70+.
git clone https://github.com/krakenhavoc/IntentLang.git
cd IntentLang
cargo build --release -p intent-cli
# Binary at target/release/intent
Pre-built binary (Linux x86_64)
Download from the latest release:
chmod +x intent-linux-x86_64
./intent-linux-x86_64 check examples/transfer.intent
Docker
docker build -t intent .
docker run -v $(pwd)/examples:/work intent check /work/transfer.intent
Verify installation
intent --help
You should see the list of available subcommands: check, render, render-html, compile, verify, audit, coverage.