Quick install
The fastest way to install Ant is using the official installation script:Install with mbedTLS
By default, Ant uses OpenSSL for TLS operations. If you prefer mbedTLS (a lighter alternative), install with:mbedTLS is useful for embedded or constrained environments where a smaller binary size is preferred.
Verify installation
After installation, verify that Ant is working correctly:Supported platforms
Ant provides official binaries for the following platforms:- Linux
- macOS
- Windows
Linux (glibc)
- x64 - Ubuntu 22.04 and compatible distributions
- aarch64 - Ubuntu 22.04 ARM64 and compatible distributions
Linux (musl)
- x64 - Alpine Linux and other musl-based distributions (statically linked)
- aarch64 - Alpine Linux ARM64 (statically linked)
musl builds are statically linked and don’t require any system dependencies.
Building from source
If you want to build Ant from source or need a custom configuration, see BUILDING.md for detailed instructions.Prerequisites for building
Building Ant requires:- C compiler with C23 support (GCC >= 14 or Clang >= 18)
- Meson build system and Ninja backend
- CMake (for subprojects)
- Node.js >= 22 (for generating JS snapshots)
- Rust toolchain (stable)
- Zig >= 0.15
- pkg-config
- Git
- OpenSSL or mbedTLS
- libsodium
- libuuid (Linux/macOS)
Build steps
Package managers
Currently, Ant is not available through system package managers like Homebrew, apt, or Chocolatey. We recommend using the official installation script.Package manager support is planned for future releases. Track progress in the GitHub repository.
Updating Ant
To update to the latest version of Ant, simply run the installation script again:Uninstalling
To uninstall Ant, remove the binary from your system:~/.ant/bin/ant.
Next steps
Quick start
Build your first Ant application