macOS
brew install numbatlocal Homebrew formula metadata
sudo port install numbatMacPorts ports tree · math/numbat/Portfile · 来源: api.github.com
安装
brew install numbatlocal Homebrew formula metadata
sudo port install numbatMacPorts ports tree · math/numbat/Portfile · 来源: api.github.com
sudo apk add numbatAlpine Linux edge package indexes · numbat · 来源: dl-cdn.alpinelinux.org
sudo apt install numbatDebian stable package indexes · numbat · 来源: deb.debian.org
nix profile install nixpkgs#numbatnixpkgs package indexes · pkgs/by-name/nu/numbat/package.nix · 来源: api.github.com
sudo pacman -S numbatArch Linux sync databases · numbat · 来源: geo.mirror.pkgbuild.com
sudo zypper install numbatopenSUSE Tumbleweed package metadata · numbat · 来源: download.opensuse.org
scoop install main/numbatScoop official bucket manifest trees · bucket/numbat.json · 来源: api.github.com
概览
Statically typed programming language for scientific computations
历史
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.
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.
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.
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.
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
numbat | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/sharkdp/numbat
安装元数据
| 软件包键 | brew:numbat |
|---|---|
| 版本 | 1.23.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/numbat |
| 主页 | https://numbat.dev/ |
| 仓库 | https://github.com/sharkdp/numbat |
| 上游文档 | https://numbat.dev/doc |
| 许可证 | Apache-2.0 OR MIT |
| 源码归档 | https://github.com/sharkdp/numbat/archive/refs/tags/v1.23.0.tar.gz |
| 最后更新 | 2026-06-14T14:47:58+02:00 |
| Pulse | updated |
| 构建依赖 | rust |
| 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 | numbat |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
numbat 1.11.0-3+b1
CLI for numbat, a programming language for scientific computations
sudo apt install numbatnumbat
nix profile install nixpkgs#numbatnumbat 1.16.0-r0
Statically typed programming language for scientific computations
sudo apk add numbatnumbat-doc 1.16.0-r0
Statically typed programming language for scientific computations (documentation)
sudo apk add numbat-docnumbat 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 numbatnumbat 1.14.0-1.5
Statically typed programming language for scientific computations
https://github.com/sharkdp/numbat
sudo zypper install numbatnumbat
sudo port install numbatmain/numbat
scoop install main/numbat来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.