# Install cryptol with Homebrew, pacman, apt

Domain-specific language for specifying cryptographic algorithms. Version 3.5.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:cryptol
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cryptol
```

  Evidence: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S cryptol
```

  Evidence: Arch Linux sync databases: cryptol from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install cryptol
```

  Evidence: Ubuntu 24.04 LTS package indexes: cryptol from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## Package facts

- **Package key:** brew:cryptol
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cryptol>
- **Version:** 3.5.0
- **Source summary:** Domain-specific language for specifying cryptographic algorithms
- **Homepage:** <https://galoisinc.github.io/cryptol/master/RefMan.html>
- **Repository:** <https://github.com/GaloisInc/cryptol>
- **Upstream docs:** <https://galoisinc.github.io/cryptol/master/RefMan.html>
- **License:** BSD-3-Clause
- **Source archive:** <https://hackage.haskell.org/package/cryptol-3.5.0/cryptol-3.5.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- check-exercises (cli)
- cryptol (cli)
- cryptol-html (cli)
- check-exercises (alias)
- cryptol (alias)
- cryptol-html (alias)

## Dependencies

- gmp
- z3

## Build dependencies

- cabal-install
- ghc@9.12

## Uses from macOS

- libffi
- ncurses

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.5.0
- Local data: ok
- Upstream repository: https://galoisinc.github.io/cryptol/master/RefMan.html
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Cryptol is a domain-specific language and toolchain for specifying and checking cryptographic algorithms. It is packaged as a developer tool because its main value is an executable specification language, REPL-like interpreter, and solver-backed verification workflow rather than a conventional application.

### Project history

The official README says Cryptol was designed by Galois for the NSA Laboratory for Advanced Cybersecurity Research as a public standard for specifying cryptographic algorithms. The current repository represents Cryptol version 3 and carries Galois copyright notices beginning in 2013, with the public GitHub repository created in 2014.

### Adoption history

Cryptol is distributed through official GitHub release binaries for macOS, Linux, and Windows, and the README explicitly documents Homebrew installation for macOS. The supplied package metadata also lists Arch and Ubuntu packages, reflecting a tool that is niche but important enough for language, formal-methods, and cryptography users to want through normal package channels.

### How it is used

Users write executable specifications of cryptographic algorithms in Cryptol, then use the interpreter's :check command for randomized testing and :prove or :sat commands through SMT solvers such as Z3. The README also points users toward examples, the standard library, and the related SAW tooling for checking implementations against specifications.

### Why package nerds care

Cryptol is interesting to packagers because it bundles a language runtime, documentation, examples, and solver expectations into a CLI package. Its README notes that Homebrew installs the appropriate Z3 version automatically, which is the kind of dependency detail that determines whether a formal-methods package works out of the box.

### Timeline

- 2013: The version 3 codebase carries Galois copyright notices beginning in this year.
- 2014: The official GitHub repository was created.
- 2026: The hosted reference manual shows active 3.x documentation and master-branch docs.

### Related projects

- Cryptol is closely related to Galois's SAW tools and to the cryptol-specs repository of example specifications. Its everyday operation also depends on SMT solvers such as Z3.

### Sources

- <https://github.com/GaloisInc/cryptol>
- <https://galoisinc.github.io/cryptol/master/RefMan.html>
- <https://api.github.com/repos/GaloisInc/cryptol>


## Security Notes

narrow executable package without higher-risk signals.

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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cryptol
- **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:** head, stable

## Other Package-Manager Records

- Ubuntu apt - cryptol - 3.0.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: cryptol from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | domain-specific language of cryptography | http://www.cryptol.net/
- pacman - cryptol - 3.3.0-88: normalized package name match | Arch Linux sync databases: cryptol from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The Language of Cryptography | https://tools.galois.com/cryptol


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [z3](https://www.automicvault.com/pkg/brew/z3/) - Runtime dependency declared by Homebrew.
- [cabal-install](https://www.automicvault.com/pkg/brew/cabal-install/) - Build dependency declared by Homebrew.
- [ghc@9.12](https://www.automicvault.com/pkg/brew/ghc-9-12/) - Build dependency declared by Homebrew.
- [qca](https://www.automicvault.com/pkg/brew/qca/) - Shares av.db curated category or tags: cli, cryptography, developer-tools.
- [ratfor](https://www.automicvault.com/pkg/brew/ratfor/) - Shares av.db curated category or tags: cli, developer-tools, programming-language, programming-languages.
- [cdecl](https://www.automicvault.com/pkg/brew/cdecl/) - Shares av.db curated category or tags: cli, developer-tools, programming-languages.
- [doublecpp](https://www.automicvault.com/pkg/brew/doublecpp/) - Shares av.db curated category or tags: cli, developer-tools, programming-languages.
- [gawk](https://www.automicvault.com/pkg/brew/gawk/) - Shares av.db curated category or tags: cli, developer-tools, programming-languages.
- [metashell](https://www.automicvault.com/pkg/brew/metashell/) - Shares av.db curated category or tags: cli, developer-tools, programming-languages.
- [aiken](https://www.automicvault.com/pkg/brew/aiken/) - Shares av.db curated category or tags: cli, developer-tools, programming-language.
- [alive2](https://www.automicvault.com/pkg/brew/alive2/) - Shares av.db curated category or tags: cli, developer-tools, verification.
- [dafny](https://www.automicvault.com/pkg/brew/dafny/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, formal, formal-methods.
- [bitwuzla](https://www.automicvault.com/pkg/brew/bitwuzla/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, formal, formal-methods.
- [stp](https://www.automicvault.com/pkg/brew/stp/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, formal, formal-methods.

## Combined YAML source

View the package source record on GitHub. [combined/cryptol.yml](https://github.com/automic-vault/db/blob/main/combined/cryptol.yml)


## Sources

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