Alire The Alire Developers
winget install --id=AdaLang.Alire -e
A catalog of ready-to-use Ada libraries plus a command-line tool (alr) to obtain, build, and incorporate them into your own projects. It aims to fulfill a similar role to Rust's cargo or OCaml's opam.
Alire is a comprehensive tool designed to simplify the management of Ada/SPARK libraries for software development projects. It serves as a catalog of ready-to-use libraries along with a command-line tool (alr) that streamlines the process of obtaining, building, and integrating these libraries into your own projects. Inspired by tools like Rust's cargo and OCaml's opam, Alire is tailored to userspace environments, ensuring all project dependencies are contained within the workspace.
Key features of Alire include its ability to manage project properties and dependencies through a TOML file, automating the setup of the complete build environment, and supporting multiple platforms such as Linux x86-64, Windows x86-64, and macOS x86-64. It provides recent versions of the GNAT FSF compiler, including cross-compilers for ARM, RISC-V, and AVR architectures. Additionally, Alire can integrate with distribution package managers (e.g., apt or pacman) to install required system dependencies when needed.
Ideal for developers working on Ada or SPARK projects, Alire enables efficient dependency management by allowing users to add libraries to their alire.toml manifest directly from the command line or a text editor. This tool automates complex tasks, freeing users from manual setup and ensuring a consistent build environment across different platforms. Alire can be installed via winget on supported systems.