macOS
brew install fendlocal Homebrew formula metadata
sudo port install fendMacPorts ports tree · math/fend/Portfile · source: api.github.com
brew
Arbitrary-precision unit-aware calculator. Version 1.5.8 via Homebrew; verified 2026-06-22.
install
brew install fendlocal Homebrew formula metadata
sudo port install fendMacPorts ports tree · math/fend/Portfile · source: api.github.com
nix profile install nixpkgs#fendnixpkgs package indexes · pkgs/by-name/fe/fend/package.nix · source: api.github.com
scoop install main/fendScoop official bucket manifest trees · bucket/fend.json · source: api.github.com
winget install --id printfn.fend -eWindows Package Manager source index · printfn.fend · source: cdn.winget.microsoft.com
overview
Arbitrary-precision unit-aware calculator
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
fend | cli | global executable |
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.
https://github.com/printfn/fend
install metadata
| Package key | brew:fend |
|---|---|
| Version | 1.5.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/fend |
| Homepage | https://printfn.github.io/fend |
| Repository | https://github.com/printfn/fend |
| Upstream docs | https://github.com/printfn/fend#readme |
| License | MIT |
| Source archive | https://github.com/printfn/fend/archive/refs/tags/v1.5.8.tar.gz |
| Last updated | 2026-06-22T14:03:19-07:00 |
| Pulse | updated |
| Build dependencies | pandoc, pkgconf, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
fend
nix profile install nixpkgs#fendfend
sudo port install fendmain/fend
scoop install main/fendprintfn.fend
winget install --id printfn.fend -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.