Automic VaultAutomic Vault

brew

Install numbat with Homebrew, apk, apt, MacPorts, Nix, pacman, scoop, zypper

Statically typed programming language for scientific computations. Version 1.23.0 via Homebrew; verified 2026-06-14.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install numbat

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install numbat

MacPorts ports tree · math/numbat/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add numbat

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

Debian aptverified · 92%
sudo apt install numbat

Debian stable package indexes · numbat · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#numbat

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

Arch Linux pacmanverified · 92%
sudo pacman -S numbat

Arch Linux sync databases · numbat · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install numbat

openSUSE Tumbleweed package metadata · numbat · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/numbat

Scoop official bucket manifest trees · bucket/numbat.json · source: api.github.com

overview

Package summary

Statically typed programming language for scientific computations

Commands and aliases

  • numbat

history

Project history and usage

Numbat is David Peter's Rust-based, statically typed language and calculator for scientific computations with first-class physical units. Its public positioning is deliberately narrower than a general computer algebra system: the project emphasizes unit-aware calculations, physical dimensions as types, a large unit/constant standard library, and an interactive terminal workflow.

Project history

The public release trail visible through GitHub releases starts with v1.6.0 on September 20, 2023, and the author's 2023 'Introducing Numbat' article explains the central design idea: values such as months, years, lengths, speeds, and other quantities carry physical dimensions that the type checker can enforce. The repository is maintained by David Peter and licensed under Apache-2.0 OR MIT.

Adoption history

Numbat is a niche but visible developer/science CLI rather than an infrastructure dependency. The GitHub project page showed about 2.6k stars and 104 forks during this research, and Homebrew's formula page listed 1,467 installs over 365 days on July 1, 2026. Its availability through Homebrew, crates.io, Linux distributions, Scoop, Nix, MacPorts, and other package managers gives it unusually broad packaging coverage for a specialized calculator language.

How it is used

Package nerds use Numbat when a unit conversion is too semantic for bc, Python, or a normal calculator: examples from the README include converting speeds, angles, mixed imperial lengths, and time durations; defining ad-hoc units; and relying on the standard library for physical constants and functions. The `NUMBAT_MODULES_PATH` escape hatch and `init.nbt` customization matter because the unit system itself is written in Numbat and can be extended without changing the binary.

Why package nerds care

The interesting packaging angle is that Numbat behaves like a calculator, a REPL, and a small domain language at once. It is the sort of package people install directly as a command-line tool, not as a transitive dependency, and its prelude/modules packaging is part of the user experience because users may inspect or override unit definitions.

Timeline

  • 2023: David Peter publishes the Numbat type-system introduction.
  • 2023-09-20: GitHub release v1.6.0 appears in the public release API.
  • 2026-02-08: GitHub release v1.23.0 is published.

Related projects

  • sharkdp/insect
  • Qalculate!
  • WolframAlpha

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.
  • 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
numbatcliglobal 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 version1.23.0
manager updated2026-06-14
local dataok
upstreamcurrent
latest detectedv1.23.0

https://github.com/sharkdp/numbat

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:numbat
Version1.23.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/numbat
Homepagehttps://numbat.dev/
Repositoryhttps://github.com/sharkdp/numbat
Upstream docshttps://numbat.dev/doc
LicenseApache-2.0 OR MIT
Source archivehttps://github.com/sharkdp/numbat/archive/refs/tags/v1.23.0.tar.gz
Last updated2026-06-14T14:47:58+02:00
Pulseupdated
Build dependenciesrust
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 Namenumbat
Version Scheme0
Revision0
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.

Debian apt95%

numbat 1.11.0-3+b1

CLI for numbat, a programming language for scientific computations

https://numbat.dev/

sudo apt install numbat
  • Section: math
  • Architecture: amd64
  • Source Package: rust-numbat-cli
  • 2 dependencies
  • normalized package name match
  • Matched by: Numbat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: numbat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

numbat

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

numbat 1.16.0-r0

Statically typed programming language for scientific computations

https://numbat.dev/

sudo apk add numbat
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: numbat
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Numbat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: numbat from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

numbat-doc 1.16.0-r0

Statically typed programming language for scientific computations (documentation)

https://numbat.dev/

sudo apk add numbat-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: numbat
  • normalized package name match
  • Matched by: Numbat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: numbat-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

numbat 1.23.0-2

A statically typed programming language for scientific computations with first class support for physical dimensions and units

https://github.com/sharkdp/numbat

sudo pacman -S numbat
  • License: MIT AND Apache-2.0
  • Architecture: x86_64
  • 3 dependencies
  • normalized package name match
  • Matched by: Numbat
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: numbat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

numbat 1.14.0-1.5

Statically typed programming language for scientific computations

https://github.com/sharkdp/numbat

sudo zypper install numbat
  • License: Apache-2.0 OR MIT
  • Category: Productivity/Scientific/Physics
  • Architecture: x86_64
  • Source Package: numbat
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Numbat
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: numbat from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

numbat

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

main/numbat

scoop install main/numbat
  • normalized package name match
  • Matched by: Numbat
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/numbat.json from https://api.github.com/repos/ScoopInstaller/Main/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