# Install cornelis with Homebrew, Nix

Neovim support for Agda. Version 2.8.0 via Homebrew; verified 2026-07-22. Also installable with nix: nix profile install nixpkgs#cornelis.

## Install

```sh
sudo av install brew:cornelis
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cornelis
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cornelis
```

  Evidence: nixpkgs package indexes: pkgs/by-name/co/cornelis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:cornelis
- **Package manager:** Homebrew
- **Version:** 2.8.0
- **Source summary:** Neovim support for Agda
- **Homepage:** <https://github.com/agda/cornelis>
- **Repository:** <https://github.com/agda/cornelis>
- **Last updated:** 2026-07-22T05:23:36Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cornelis (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.8.0
## Project history and usage

Cornelis is a Neovim interface for Agda, positioning itself as agda-mode for Neovim. It is written in Haskell and exposes Agda interactions through Vim commands for loading, goals, refinement, case splitting, normalization, and navigation.

### Project history

The upstream README still describes Cornelis in relation to Emacs agda-mode and documents installation through common Vim and Neovim plugin managers. The current repository under the Agda organization was created in 2022, and its README states that the repository is currently unmaintained while asking interested maintainers to contact the Agda community.

### Adoption history

Cornelis serves the smaller intersection of Agda users and Neovim users. Its adoption significance is mainly editorial and workflow-based: it gives dependently typed programming a modal-editor path rather than requiring the traditional Emacs-centered Agda workflow.

### How it is used

Users install Cornelis as a Neovim plugin, build it with Stack, and configure Vimscript or Lua variables for behavior such as rewrite mode, Agda input prefix, disabling default bindings, and debug logging.

### Why package nerds care

Cornelis is interesting to package maintainers because it is both an editor integration and a Haskell-built executable. Distribution needs to account for Neovim plugin layout, Stack/Haskell build expectations, and compatibility with Agda versions.

### Timeline

- 2022: Current agda/cornelis GitHub repository created.
- 2026: Repository metadata shows recent activity while the README marks the project as unmaintained.
- Present: Tags in the official repository include v2.7.0, v2.7.1, and v2.8.0.

### Related projects

- Related projects include Agda, agda-mode for Emacs, nvim-hs.vim, vim-textobj-user, and Neovim plugin managers such as vim-plug and lazy.nvim.

### Sources

- <https://github.com/agda/cornelis>
- <https://raw.githubusercontent.com/agda/cornelis/master/README.md>
- <https://api.github.com/repos/agda/cornelis>
- <https://api.github.com/repos/agda/cornelis/tags>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Nix - cornelis: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/cornelis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/cornelis.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cornelis.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
