Getting started
Installation
Section titled “Installation”Ardent can be installed from several sources. Pick the one you’re most familiar with.
Winget
Section titled “Winget”Microsoft ships Winget with Windows 11, Windows 10 (version 1809 and later), and Windows Server 2025. That makes it the ideal candidate to install Ardent on Windows.
winget install --id idleberg.ardentScoop is a third-party package manager for Windows. Ardent can be installed after adding the official NSIS bucket.
# One-time operation: add bucketscoop bucket add nsis https://github.com/NSIS-Dev/scoop-nsis
# Installscoop install nsis/ardentHomebrew
Section titled “Homebrew”The popular package manager Homebrew for macOS and Linux provides Ardent through the developer’s tap.
brew install idleberg/asahi/ardentCargo is the package manager and build system for the Rust programming language. If you’re at home in that ecosystem, you might want to use it to install Ardent.
cargo install ardentThere is no official Nix package for Ardent yet, but you may install Ardent from the repository’s flake.
nix profile install github:idleberg/ardentDocker
Section titled “Docker”Use Docker to install or run Ardent in an isolated container.
docker run idleberg/ardentPkgx offers an elegant way to try Ardent without installing it. If you want to keep it, you can install it using pkgm.
# Run oncepkgx ardent
# Installpkgm install ardentMise-en-place is a tool that manages dev tools, env vars, and tasks per project. With mise-ardent installed, you can add the formatter to your local project.
# One-time operation: install pluginmise plugin install ardent https://github.com/idleberg/mise-ardent
# Install ardent in your projectmise use ardentBuild from source
Section titled “Build from source”# Clone the repositorygit clone https://github.com/idleberg/ardent.gitcd ardent
# Setup toolingmise install
# Buildmise run buildTo run formatting checks in a GitHub workflow, install the ardent-check action. For more complex operations in your pipeline, you may use setup-ardent instead.