macOS
brew install agdalocal Homebrew formula metadata
brew
Dependently typed functional programming language. Version 2.8.0-r3 via Homebrew; verified 2026-06-22.
install
brew install agdalocal Homebrew formula metadata
sudo apt install agdaDebian stable package indexes · agda · source: deb.debian.org
sudo dnf install AgdaFedora Rawhide package metadata · Agda · source: dl.fedoraproject.org
nix profile install nixpkgs#agdanixpkgs package indexes · agda · source: raw.githubusercontent.com
sudo pacman -S agdaArch Linux sync databases · agda · source: geo.mirror.pkgbuild.com
overview
Dependently typed functional programming language
history
Agda is a dependently typed programming language and interactive theorem prover rooted in the Gothenburg tradition of Martin-Lof type theory systems. It is both a language-runtime package and a proof-assistant package, with an interactive editor workflow and a library system based on .agda-lib files.
The official history page traces the lineage back to proof assistants based on Martin-Lof type theory developed in Gothenburg since 1983, followed by intensional dependent type theory systems around 1990 such as ALF. In the mid-1990s, prototypes and redesigns explored theory mechanisms, proof editors, and type checking with metavariable constraints.
The original Agda, now often called Agda 1, was implemented in Haskell by Catarina Coquand. In 2004 the Programming Logic Group began collaborating with AIST in Japan, and the Agda Implementors Meetings started as biannual meetings alternating between Sweden and Japan.
Work on the current Agda system began after the 2005 AgdaLight prototype by Ulf Norell and Andreas Abel. Ulf Norell's 2007 thesis, 'Towards a practical programming language based on dependent type theory', is named by the official history page as a main reference for Agda 2.
Agda's adoption has grown through academic type theory, dependently typed programming, proof engineering, and formalized mathematics communities. The official wiki says the center of development is the Logic and Types group at Chalmers and Gothenburg University, while GitHub metadata shows a broad open-source contributor base.
As a package, Agda is visible across Haskell and OS package ecosystems. The README links Hackage and Stackage badges, the official installation docs describe binary releases, source builds with cabal and Nix, and a Python installer, and the supplied batch facts list Homebrew, Debian, Fedora, Nix, Arch, and Ubuntu.
Users run agda to type-check files, use agda-mode or another editor integration for interactive development, and manage libraries through .agda-lib files plus AGDA_DIR/libraries and AGDA_DIR/defaults files. On Unix-like systems AGDA_DIR defaults to ~/.config/agda, with fallback behavior for ~/.agda; on Windows it defaults under AppData/Roaming/agda.
Agda code often depends on the standard library but the official installation page notes that the standard library is not necessarily bundled with every Agda distribution. The package-system documentation therefore matters to packagers and users because it defines how installed libraries become visible to the type checker.
Agda is one of those packages where the executable is only half the story: editor integration, Unicode input, library metadata, GHC compatibility, data files, standard-library versioning, and release notes all affect whether users can actually type-check projects.
The 2.8.0 release notes are especially package-relevant because they say Agda became a self-contained single binary and mention behavior around data files and library builds. That kind of upstream packaging change directly affects formulae, distro packages, and reproducible development environments.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.agda-lib~/.config/agda/libraries~/.config/agda/libraries-VERSION~/.config/agda/defaults~/.config/agda/defaults-VERSION~/.agda.agda-libC:\Users\USERNAME\AppData\Roaming\agda\librariesC:\Users\USERNAME\AppData\Roaming\agda\libraries-VERSIONC:\Users\USERNAME\AppData\Roaming\agda\defaultsC:\Users\USERNAME\AppData\Roaming\agda\defaults-VERSIONexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
agda | cli | global executable | |
agda-mode | cli | global executable | |
agda2hs | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:agda |
|---|---|
| Version | 2.8.0-r3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/agda |
| Homepage | https://wiki.portal.chalmers.se/agda/ |
| Repository | https://github.com/agda/agda |
| Upstream docs | https://agda.readthedocs.io/en/latest |
| License | MIT AND BSD-3-Clause |
| Source archive | https://github.com/agda/agda/archive/refs/tags/v2.8.0-r3.tar.gz |
| Last updated | 2026-06-22T14:02:41-07:00 |
| Pulse | updated |
| Dependencies | ghc@9.12, gmp, icu4c@78 |
| Build dependencies | cabal-install, emacs, pkgconf |
| Uses from macOS | libffi, ncurses |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | To use the installed Agda libraries, execute the following commands: mkdir -p $HOME/.config/agda cp $HOMEBREW_PREFIX/opt/agda/share/agda/example-libraries $HOME/.config/agda/libraries cp $HOMEBREW_PREFIX/opt/agda/share/agda/example-defaults $HOME/.config/agda/defaults You can then inspect the copied files and customize them as needed. If you have upgraded your Agda installation from a previous version, you may need to redo this. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | agda |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
agda 2.6.4.3-1
dependently typed functional programming language
https://wiki.portal.chalmers.se/agda/
sudo apt install agdaagda-bin 2.6.4.3-1+b2
commandline interface to Agda
https://wiki.portal.chalmers.se/agda/
sudo apt install agda-binelpa-agda2-mode 2.6.4.3-1
dependently typed functional programming language — emacs mode
https://wiki.portal.chalmers.se/agda/
sudo apt install elpa-agda2-modelibghc-agda-dev 2.6.4.3-1+b2
dependently typed functional programming language
https://wiki.portal.chalmers.se/agda/
sudo apt install libghc-agda-devlibghc-agda-doc 2.6.4.3-1
dependently typed functional programming language; documentation
https://wiki.portal.chalmers.se/agda/
sudo apt install libghc-agda-docagda
nix profile install nixpkgs#agdaagda 2.6.3-1build1
dependently typed functional programming language
https://wiki.portal.chalmers.se/agda/
sudo apt install agdaagda-bin 2.6.3-1build1
commandline interface to Agda
https://wiki.portal.chalmers.se/agda/
sudo apt install agda-binelpa-agda2-mode 2.6.3-1build1
dependently typed functional programming language — emacs mode
https://wiki.portal.chalmers.se/agda/
sudo apt install elpa-agda2-modelibghc-agda-dev 2.6.3-1build1
dependently typed functional programming language
https://wiki.portal.chalmers.se/agda/
sudo apt install libghc-agda-devlibghc-agda-doc 2.6.3-1build1
dependently typed functional programming language; documentation
https://wiki.portal.chalmers.se/agda/
sudo apt install libghc-agda-docAgda 2.8.0-59.fc44
A dependently typed functional programming language and proof assistant
https://hackage.haskell.org/package/Agda
sudo dnf install AgdaAgda-common 2.8.0-59.fc44
Agda common files
https://hackage.haskell.org/package/Agda
sudo dnf install Agda-commonghc-Agda 2.8.0-59.fc44
Haskell Agda library
https://hackage.haskell.org/package/Agda
sudo dnf install ghc-Agdaghc-Agda-devel 2.8.0-59.fc44
Haskell Agda library development files
https://hackage.haskell.org/package/Agda
sudo dnf install ghc-Agda-develghc-Agda-doc 2.8.0-59.fc44
Haskell Agda library documentation
https://hackage.haskell.org/package/Agda
sudo dnf install ghc-Agda-docsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.