AlireThe Package Manager for Ada/SPARK

Alire makes Ada development simple and modern—discover, install, and manage Ada/SPARK libraries with ease.

What is Alire?

Alire is a catalog of ready-to-use Ada and SPARK libraries, plus a command-line tool (alr) to obtain, build, and incorporate them into your projects. It fulfills a similar role to Rust's cargo or OCaml's opam.

  • Userspace operation: Like Python's virtualenv, Alire works in userspace. Each project or workspace contains all its dependencies.
  • Easy project management: Project properties and dependencies are managed through a simple alire.toml file.
  • Automatic environment setup: Alire sets up the complete build environment, so you don't have to worry about installation paths or missing dependencies.
  • Distribution integration: If a project needs system packages (e.g., via apt or pacman), Alire will guide you through installation.
  • Inspired by modern package managers: Alire aims to be as easy and powerful as cargo (Rust) or opam (OCaml).

Loading latest Alire version...

Get the latest release of Alire for your platform. Start building Ada and SPARK projects in seconds!

Download Alire

Quick Start

Get started with Alire in just a few commands:

Initialize a new project:

alr init --bin my_project

Add a dependency:

alr with some_crate

Build your project:

alr build

Run your executable:

alr run

Read the full Getting Started guide →