# fend を Homebrew, MacPorts, Nix, scoop, winget でインストール

fend のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:fend
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install fend
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fend
```

  証拠: MacPorts ports tree: math/fend/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fend
```

  証拠: nixpkgs package indexes: pkgs/by-name/fe/fend/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/fend
```

  証拠: Scoop official bucket manifest trees: bucket/fend.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id printfn.fend -e
```

  証拠: Windows Package Manager source index: printfn.fend from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:fend
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.5.8
- **ソース概要:** Arbitrary-precision unit-aware calculator
- **ホームページ:** <https://printfn.github.io/fend>
- **リポジトリ:** <https://github.com/printfn/fend>
- **最終更新:** 2026-06-22T14:03:19-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- fend (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.5.8
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2020: v0.1.0 released on 2020-08-31.
- 2021: CLI config file support added.
- 2022: Up-to-date currency exchange-rate support added.
- 2023: Custom units in ~/.config/fend/config.toml added.
- 2024: Web UI rewrite, roman numerals, number-to-words, and locale-oriented decimal separator support land across 1.4.x releases.
- 2026: v1.5.8 released on 2026-01-24.

### Related projects

- GNU units and Qalculate are adjacent unit-aware calculator tools.
- bc, dc, and shell arithmetic cover narrower command-line calculator niches.
- fend-wasm and the fend web interface reuse the same project in browser and JavaScript-package contexts.

### ソース

- <https://github.com/printfn/fend>
- <https://raw.githubusercontent.com/printfn/fend/main/README.md>
- <https://printfn.github.io/fend/documentation/>
- <https://raw.githubusercontent.com/printfn/fend/main/CHANGELOG.md>
- <https://github.com/printfn/fend/releases>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - fend: normalized package name match | nixpkgs package indexes: pkgs/by-name/fe/fend/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - fend: normalized package name match | MacPorts ports tree: math/fend/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/fend: normalized package name match | Scoop official bucket manifest trees: bucket/fend.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - printfn.fend: normalized package name match | Windows Package Manager source index: printfn.fend from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/fend.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fend.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
