Skip to main content

Installation

Infr is distributed as a single static binary with no runtime dependencies. You don't need R, Python, or Node.js installed to run the type checker.

Download the latest release from GitHub Releases. Binaries are available for:

PlatformArchive
Linux x86_64infr-vX.Y.Z-x86_64-unknown-linux-gnu.tar.gz
Linux ARM64infr-vX.Y.Z-aarch64-unknown-linux-gnu.tar.gz
macOS x86_64infr-vX.Y.Z-x86_64-apple-darwin.tar.gz
macOS ARM64 (Apple Silicon)infr-vX.Y.Z-aarch64-apple-darwin.tar.gz
Windows x86_64infr-vX.Y.Z-x86_64-pc-windows-msvc.zip

Extract the archive and place the infr binary somewhere on your PATH:

# Example for Linux/macOS
tar xzf infr-vX.Y.Z-*.tar.gz
sudo mv infr /usr/local/bin/

Install via Cargo

If you have Rust installed, you can install Infr directly from crates.io:

cargo install infr

Build from source

To build from the latest source:

git clone https://github.com/mdanka/infr.git
cd infr
cargo build --release

The binary will be at ./target/release/infr.

Verify installation

infr --version

Next steps

Once installed, follow the Quick Start guide to type-check your first R file.