# Install spigot with Homebrew, apt, Nix

Command-line streaming exact real calculator. Version 20260410 via Homebrew; verified 2026-04-11.

## Install

```sh
sudo av install brew:spigot
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install spigot
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install spigot
```

  Evidence: Debian stable package indexes: spigot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#spigot
```

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

## Package facts

- **Package key:** brew:spigot
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/spigot>
- **Version:** 20260410
- **Source summary:** Command-line streaming exact real calculator
- **Homepage:** <https://www.chiark.greenend.org.uk/~sgtatham/spigot/>
- **Repository:** <https://git.tartarus.org/?p=simon%2Fspigot.git>
- **Upstream docs:** <https://www.chiark.greenend.org.uk/~sgtatham/spigot>
- **License:** MIT
- **Source archive:** <https://www.chiark.greenend.org.uk/~sgtatham/spigot/spigot-20260410.ed81b83.tar.gz>
- **Last updated:** 2026-04-11T00:53:41Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- spigot (cli)
- spigot (alias)

## Build dependencies

- cmake

## Uses from macOS

- 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: 20260410
- Package-manager updated: 2026-04-11
- Local data: ok
- Upstream repository: https://www.chiark.greenend.org.uk/~sgtatham/spigot/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

spigot is Simon Tatham's command-line exact real calculator, aimed at producing verified digits from mathematical expressions rather than fast floating-point approximations.

### Project history

The official page describes spigot as a streaming exact real calculator named after Jeremy Gibbons's unbounded spigot algorithm for digits of pi, expanded to support more output modes and input numbers.

### Adoption history

The project is distributed from the author's site as a Unix source archive and Windows executable, with official development sources in a Tartarus git repository. The input package facts show it packaged in Homebrew, Debian, Nix, and Ubuntu.

### How it is used

The manual documents an expression language, output modes, rounding modes, file and pipe input, and a Unix man-page appendix. Its niche is slow but exact calculation, especially for many digits, numerically fragile expressions, or cross-checking another system.

### Why package nerds care

For package people, spigot is the pleasing sort of small CLI that rewards being packaged: mathematically specialized, scriptable, source-distributed, and useful as a reproducibility check when ordinary calculators hide rounding behavior.

### Timeline

- 2026: Official page offered source archive spigot-20260410.ed81b83.tar.gz and was last modified on April 10.
- 2026: Official page documented the Tartarus git repository as the latest development source.

### Related projects

- Jeremy Gibbons's unbounded spigot algorithm
- Unix calculators
- exact real arithmetic tools

### Sources

- <https://www.chiark.greenend.org.uk/~sgtatham/spigot/>
- <https://www.chiark.greenend.org.uk/~sgtatham/spigot/spigot.html>
- input source_facts.package-manager


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** spigot
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - spigot - 0.2017-01-15.gdad1bbc6-1+b1: normalized package name match | Debian stable package indexes: spigot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Exact real calculator | http://www.chiark.greenend.org.uk/~sgtatham/spigot/
- Nix - spigot: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spigot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - spigot - 0.2017-01-15.gdad1bbc6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: spigot from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Exact real calculator | http://www.chiark.greenend.org.uk/~sgtatham/spigot/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [libqalculate](https://www.automicvault.com/pkg/brew/libqalculate/) - Shares av.db curated category or tags: calculator, cli, math, science.
- [rink](https://www.automicvault.com/pkg/brew/rink/) - Shares av.db curated category or tags: calculator, cli, science.
- [aamath](https://www.automicvault.com/pkg/brew/aamath/) - Shares av.db curated category or tags: cli, math, science.
- [asciitex](https://www.automicvault.com/pkg/brew/asciitex/) - Shares av.db curated category or tags: cli, math, science.
- [calc](https://www.automicvault.com/pkg/brew/calc/) - Shares av.db curated category or tags: calculator, cli, science.
- [ginac](https://www.automicvault.com/pkg/brew/ginac/) - Shares av.db curated category or tags: cli, math, science.
- [gnu-units](https://www.automicvault.com/pkg/brew/gnu-units/) - Shares av.db curated category or tags: calculator, cli, science.
- [numbat](https://www.automicvault.com/pkg/brew/numbat/) - Shares av.db curated category or tags: calculator, cli, science.
- [tweak](https://www.automicvault.com/pkg/brew/tweak/) - Local package facts share a topical domain. Shared terms: cli, command-line, line.

## Combined YAML source

View the package source record on GitHub. [combined/spigot.yml](https://github.com/automic-vault/db/blob/main/combined/spigot.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
