macOS
brew install claclocal Homebrew formula metadata
sudo port install clacMacPorts ports tree · math/clac/Portfile · source: api.github.com
brew
Command-line, stack-based calculator with postfix notation. Version 0.3.5 via Homebrew; verified 2026-04-13.
install
brew install claclocal Homebrew formula metadata
sudo port install clacMacPorts ports tree · math/clac/Portfile · source: api.github.com
nix profile install nixpkgs#clacnixpkgs package indexes · pkgs/by-name/cl/clac/package.nix · source: api.github.com
overview
Command-line, stack-based calculator with postfix notation
history
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.
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.
local files
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.
Config paths the tool may read or write during local use.
$CLAC_WORDS$XDG_CONFIG_HOME/clac/words~/.config/clac/wordsexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
clac | 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/soveran/clac
install metadata
| Package key | brew:clac |
|---|---|
| Version | 0.3.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/clac |
| Homepage | https://github.com/soveran/clac |
| Repository | https://github.com/soveran/clac |
| Upstream docs | https://github.com/soveran/clac#readme |
| License | BSD-2-Clause |
| Source archive | https://github.com/soveran/clac/archive/refs/tags/0.3.5.tar.gz |
| Last updated | 2026-04-13T10:27:34Z |
| Pulse | updated |
| 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 | clac |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
clac
nix profile install nixpkgs#clacclac
sudo port install clacsource 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.