Automic VaultAutomic Vault

brew

Install idris2 with Homebrew, apk, dnf, MacPorts, Nix

Pure functional programming language with dependent types. Version 0.8.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install idris2

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install idris2

MacPorts ports tree · lang/idris2/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add idris2

Alpine Linux edge package indexes · idris2 · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install idris2

Fedora Rawhide package metadata · idris2 · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#idris2

nixpkgs package indexes · pkgs/by-name/id/idris2/package.nix · source: api.github.com

overview

Package summary

Pure functional programming language with dependent types

Commands and aliases

  • idris2

history

Project history and usage

Idris 2 is the second major implementation of the Idris dependently typed programming language. It keeps the type-driven programming culture of Idris while changing the core language around Quantitative Type Theory, giving the compiler explicit information about erased, linear, and unrestricted values.

For package users, Idris 2 matters less as a conventional scripting tool and more as a research-grade language runtime that became packaged enough for everyday experimentation: a compiler, REPL, standard libraries, package metadata through .ipkg files, editor integrations, and a small but unusually technical ecosystem.

Project history

Idris development is led by Edwin Brady at the University of St Andrews, and the Idris site presents the language as a vehicle for type-driven development: types are treated as plans that guide construction of programs. Idris 2 grew out of that project as a new version of the dependently typed language rather than a small revision of Idris 1.

The Idris 2 paper submitted in 2021 describes the language as a new version of Idris with a core based on Quantitative Type Theory. The official migration documentation emphasizes the practical consequence: every variable has a quantity, so the compiler can distinguish erased values, exactly-once values, and ordinary unrestricted values.

The public Idris2 repository records release tags beginning with v0.2.0 in 2020 and continuing through later 0.x releases. The README also points users to Idris 2 talks from the late 2010s, the official documentation, the Pack package manager, curated community libraries, and idris2-lsp.

Adoption history

Adoption has centered on the functional programming, dependent-types, theorem-proving, and programming-language-research communities. The project deliberately preserves a path for Idris 1 users through documentation about language differences and book updates, while also advertising Idris 2 specific learning material and talks.

Package-manager adoption reflects that Idris 2 became installable outside its research niche. The supplied package metadata lists Homebrew, Alpine, Fedora, MacPorts, and Nix package names, giving users a route to the compiler without building the full language stack manually.

How it is used

Users run the idris2 compiler and REPL to write dependently typed programs, explore holes interactively, compile programs, and build packages described by .ipkg files. The README describes Pack as the common way to install Idris packages and work with compatible package collections.

The language is commonly used for examples where types express program invariants: length-indexed data, proof-carrying code, safe protocols, and resource-aware APIs. Idris 2's QTT-based quantities make erasure and linear usage visible to programmers instead of leaving them as compiler-only implementation details.

Why package nerds care

Idris 2 is a package-nerd marker for the point where dependently typed programming moved from papers and conference demos into reproducible command-line tooling. Installing it from Homebrew or Nix pulls a language whose central design is tied directly to contemporary type theory.

It is also interesting because its ecosystem has package metadata of its own. The README's .ipkg and Pack discussion makes Idris 2 both a package in Unix package managers and a language with a nested package culture.

Timeline

  • 2018: Public Idris 2 talks appear in the official README resource list.
  • 2020: Public Idris2 release tags begin with v0.2.0.
  • 2021: Edwin Brady's Idris 2: Quantitative Type Theory in Practice paper is submitted and appears at ECOOP 2021.
  • 2022: v0.6.0 release tag marks another packaged compiler milestone.
  • 2023: v0.7.0 release tag is recorded in the upstream repository.
  • 2025: v0.8.0 release tag is recorded in the upstream repository.

Related projects

  • Idris 1 is the direct predecessor and remains the context for much of the teaching material, including Type-Driven Development with Idris and the official migration notes.
  • Pack, idris2-pack-db, idris2-lsp, the idris-community organization, and the Idris Zulip form much of the surrounding tooling and community infrastructure.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:programming language

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
idris2cliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.8.0
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv0.8.0

https://github.com/idris-lang/Idris2

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:idris2
Version0.8.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/idris2
Homepagehttps://www.idris-lang.org/
Repositoryhttps://github.com/idris-lang/Idris2
Upstream docshttps://idris2.readthedocs.io/en/latest
LicenseBSD-3-Clause
Source archivehttps://github.com/idris-lang/Idris2/archive/refs/tags/v0.8.0.tar.gz
Last updated2026-06-22T14:03:45-07:00
Pulseupdated
Dependencieschezscheme
Build dependenciesgmp
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameidris2
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

idris2

nix profile install nixpkgs#idris2
  • normalized package name match
  • Matched by: Idris2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/id/idris2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

idris2 0.8.0-r2

Purely functional programming language with first class types

https://www.idris-lang.org

sudo apk add idris2
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: idris2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Idris2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: idris2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

idris2-api 0.8.0-r2

Idris API for developing support tools (e.g. external code generator)

https://www.idris-lang.org

sudo apk add idris2-api
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: idris2
  • normalized package name match
  • Matched by: Idris2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: idris2-api from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

idris2-doc 0.8.0-r2

Purely functional programming language with first class types (documentation)

https://www.idris-lang.org

sudo apk add idris2-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: idris2
  • normalized package name match
  • Matched by: Idris2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: idris2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

idris2 0.8.0-5.fc45

Purely functional programming language with first class types

https://www.idris-lang.org

sudo dnf install idris2
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: idris2
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Idris2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: idris2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

idris2-doc 0.8.0-5.fc45

Idris2 documentation

https://www.idris-lang.org

sudo dnf install idris2-doc
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: idris2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Idris2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: idris2-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

idris2-libs 0.8.0-5.fc45

idris2 runtime support library

https://www.idris-lang.org

sudo dnf install idris2-libs
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: idris2
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Idris2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: idris2-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

idris2

sudo port install idris2
  • normalized package name match
  • Matched by: Idris2
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/idris2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment