macOS
brew install fendlocal Homebrew formula metadata
sudo port install fendMacPorts ports tree · math/fend/Portfile · 来源: api.github.com
安装
brew install fendlocal Homebrew formula metadata
sudo port install fendMacPorts ports tree · math/fend/Portfile · 来源: api.github.com
nix profile install nixpkgs#fendnixpkgs package indexes · pkgs/by-name/fe/fend/package.nix · 来源: api.github.com
scoop install main/fendScoop official bucket manifest trees · bucket/fend.json · 来源: api.github.com
winget install --id printfn.fend -eWindows Package Manager source index · printfn.fend · 来源: cdn.winget.microsoft.com
概览
Arbitrary-precision unit-aware calculator
历史
fend is an arbitrary-precision, unit-aware calculator available as a CLI, web app, Rust crate family, WebAssembly package, and packaged desktop/server-side tool.
The GitHub release history starts with v0.1.0 on 2020-08-31. Early releases built up the calculator core, REPL behavior, history handling, terminal color, configuration support, and unit operations.
By 2022, fend had added automatic currency exchange-rate downloads and file input. Later releases expanded into custom units, decimal separator options, roman numerals, number-to-words conversion, scripting-oriented print functions, web UI improvements, and more reliable exchange-rate sourcing.
The 1.x series remains active. The changelog lists v1.5.8 on 2026-01-24, with fixes and improvements around TLS defaults, the interactive clear command, significant-figure rounding, pi precision, currency conversions, Turkish lira aliases, variable serialization, and performance.
The official README documents package-manager installation through Homebrew, MacPorts, AUR, AOSC OS, Void Linux xbps, Nix, Cargo, Windows Package Manager, Chocolatey, Scoop, and Pkgx, alongside manual binaries from GitHub releases.
fend also appears beyond the CLI: the README lists the web interface, npm WebAssembly packages, a Telegram bot, and projects using fend such as MicroPad, Fendesk, metasearch2, FendApp, and Asleh.
fend is used as a REPL or one-shot calculator for exact arithmetic, complex numbers, units, base conversion, dice notation, variables, trigonometric functions, strings, custom units, currency conversion, and small scripts.
The manual documents a CLI configuration file at OS-specific paths, with options for colors, history length, prompt text, internet access, exchange-rate source, decimal separator style, custom units, and related behavior. It also stores command history under the user's state directory by default.
fend is the sort of package nerds like because it replaces a pile of ad hoc shell, Python, bc, units, and browser-tab calculations with one small executable that understands dimensions and keeps exact arithmetic where possible.
It also shows a modern packaging pattern for Rust tools: a single core used by CLI, web, Wasm, bot, and package-manager distributions, with release notes that track both mathematical correctness and platform packaging details.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fend | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/printfn/fend
安装元数据
| 软件包键 | brew:fend |
|---|---|
| 版本 | 1.5.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/fend |
| 主页 | https://printfn.github.io/fend |
| 仓库 | https://github.com/printfn/fend |
| 上游文档 | https://github.com/printfn/fend#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/printfn/fend/archive/refs/tags/v1.5.8.tar.gz |
| 最后更新 | 2026-06-22T14:03:19-07:00 |
| Pulse | updated |
| 构建依赖 | pandoc, pkgconf, 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 | fend |
| 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 软件包链接分开显示。
fend
nix profile install nixpkgs#fendfend
sudo port install fendmain/fend
scoop install main/fendprintfn.fend
winget install --id printfn.fend -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.