macOS
brew install idris2local Homebrew formula metadata
sudo port install idris2MacPorts ports tree · lang/idris2/Portfile · 来源: api.github.com
安装
brew install idris2local Homebrew formula metadata
sudo port install idris2MacPorts ports tree · lang/idris2/Portfile · 来源: api.github.com
sudo apk add idris2Alpine Linux edge package indexes · idris2 · 来源: dl-cdn.alpinelinux.org
sudo dnf install idris2Fedora Rawhide package metadata · idris2 · 来源: dl.fedoraproject.org
nix profile install nixpkgs#idris2nixpkgs package indexes · pkgs/by-name/id/idris2/package.nix · 来源: api.github.com
概览
Pure functional programming language with dependent types
历史
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.
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 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.
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.
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
idris2 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/idris-lang/Idris2
安装元数据
| 软件包键 | brew:idris2 |
|---|---|
| 版本 | 0.8.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/idris2 |
| 主页 | https://www.idris-lang.org/ |
| 仓库 | https://github.com/idris-lang/Idris2 |
| 上游文档 | https://idris2.readthedocs.io/en/latest |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://github.com/idris-lang/Idris2/archive/refs/tags/v0.8.0.tar.gz |
| 最后更新 | 2026-06-22T14:03:45-07:00 |
| Pulse | updated |
| 依赖 | chezscheme |
| 构建依赖 | gmp |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | idris2 |
| Version Scheme | 0 |
| Revision | 2 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
idris2
nix profile install nixpkgs#idris2idris2 0.8.0-r2
Purely functional programming language with first class types
sudo apk add idris2idris2-api 0.8.0-r2
Idris API for developing support tools (e.g. external code generator)
sudo apk add idris2-apiidris2-doc 0.8.0-r2
Purely functional programming language with first class types (documentation)
sudo apk add idris2-docidris2 0.8.0-5.fc45
Purely functional programming language with first class types
sudo dnf install idris2idris2-doc 0.8.0-5.fc45
Idris2 documentation
sudo dnf install idris2-docidris2-libs 0.8.0-5.fc45
idris2 runtime support library
sudo dnf install idris2-libsidris2
sudo port install idris2来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.