Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix, pacman, scoop, zypper 安装 numbat

查看 numbat 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install numbat

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install numbat

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add numbat

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

Debian apt已验证 · 92%
sudo apt install numbat

Debian stable package indexes · numbat · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#numbat

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

Arch Linux pacman已验证 · 92%
sudo pacman -S numbat

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

openSUSE zypper已验证 · 92%
sudo zypper install numbat

openSUSE Tumbleweed package metadata · numbat · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/numbat

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

概览

软件包摘要

Statically typed programming language for scientific computations

命令和别名

  • numbat

历史

项目历史与用法

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.

时间线

  • 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

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
numbatcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.23.0
管理器更新时间2026-06-14
本地数据OK
上游当前
检测到的最新版本v1.23.0

https://github.com/sharkdp/numbat

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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