1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 22:35:23 +02:00
tldr/pages/common/alr.md

22 lines
425 B
Markdown
Raw Normal View History

# alr
> Ada package manager.
> Manage Ada toolchains, dependencies, tools and libraries.
> More information: <https://alire.ada.dev/>.
- Create a binary or library project:
`alr init {{--bin|--lib}} {{project_name}}`
- Add a dependency to the project:
`alr add {{crate}}`
- Run the compiled binary (no need to do `build` before):
`alr run`
- Compile the project:
`alr build {{--release|--development|--validation}}`