Automic VaultAutomic Vault

brew

Install clac with Homebrew, MacPorts, Nix

Command-line, stack-based calculator with postfix notation. Version 0.3.5 via Homebrew; verified 2026-04-13.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install clac

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install clac

MacPorts ports tree · math/clac/Portfile · source: api.github.com

Linux

Nixverified · 92%
nix profile install nixpkgs#clac

nixpkgs package indexes · pkgs/by-name/cl/clac/package.nix · source: api.github.com

overview

Package summary

Command-line, stack-based calculator with postfix notation

Commands and aliases

  • clac

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
$CLAC_WORDS$XDG_CONFIG_HOME/clac/words~/.config/clac/words

executables

Installed executables

CommandKindExposureNote
claccliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.3.5
manager updated2026-04-13
local dataok
upstreamcurrent
latest detected0.3.5

https://github.com/soveran/clac

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:clac
Version0.3.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/clac
Homepagehttps://github.com/soveran/clac
Repositoryhttps://github.com/soveran/clac
Upstream docshttps://github.com/soveran/clac#readme
LicenseBSD-2-Clause
Source archivehttps://github.com/soveran/clac/archive/refs/tags/0.3.5.tar.gz
Last updated2026-04-13T10:27:34Z
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclac
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

clac

nix profile install nixpkgs#clac
  • normalized package name match
  • Matched by: Clac
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cl/clac/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

clac

sudo port install clac
  • normalized package name match
  • Matched by: Clac
MacPorts ports tree · api.github.com · MacPorts ports tree: math/clac/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment