# clac を Homebrew, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:clac
```

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

### macOS

- Homebrew (100%):

```sh
brew install clac
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install clac
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#clac
```

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

## パッケージ情報

- **パッケージキー:** brew:clac
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.3.5
- **ソース概要:** Command-line, stack-based calculator with postfix notation
- **ホームページ:** <https://github.com/soveran/clac>
- **リポジトリ:** <https://github.com/soveran/clac>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- clac (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Clac is a command-line, stack-based calculator using postfix notation with the stack visible as calculations happen.

### プロジェクトの歴史

The official repository was created in 2017 and its first GitHub release was named Initial release. The README explains the project motivation: the author liked Forth and other concatenative languages, used `dc` heavily, and wanted a calculator UI with an always-visible stack and realtime updates.

### 採用の歴史

The batch input records Clac in Homebrew, MacPorts, and Nix. The official README directs users to GitHub releases and a distribution-packages wiki page, indicating upstream expected both direct release installs and package-manager installs.

### 使われ方

Users run `clac` interactively, enter numbers to push them onto the stack, and type postfix commands such as arithmetic, logarithm, trigonometry, stack, stash, and custom word operations. The README documents a `words` configuration file for user-defined operations.

### パッケージ好きにとっての重要性

Clac is a neat package-manager specimen because it modernizes the tiny terminal calculator niche rather than replacing it with a GUI. It is small, self-contained, configurable through XDG-style paths, and culturally adjacent to `dc`, Forth, and RPN calculator users.

### タイムライン

- 2017: Official GitHub repository created.
- 2017: Initial release 0.1.0 published.
- 2026: Official GitHub repository metadata shows recent activity.

### Related projects

- The README explicitly relates Clac to `dc`, Forth, stack-based languages, concatenative languages, postfix notation, and reverse Polish notation.

### ソース

- <https://github.com/soveran/clac/blob/master/README.md>
- <https://api.github.com/repos/soveran/clac>
- <https://api.github.com/repos/soveran/clac/releases>


## セキュリティノート

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $CLAC_WORDS, $XDG_CONFIG_HOME/clac/words, ~/.config/clac/words
## 他のパッケージマネージャ記録

- Nix - clac: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clac/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - clac: normalized package name match | MacPorts ports tree: math/clac/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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