macOS
brew install cpilocal Homebrew formula metadata
sudo port install cpiMacPorts ports tree · lang/cpi/Portfile · source: api.github.com
brew / rank 7919
Tiny c++ interpreter. Version 2.2.4 via Homebrew; verified 2026-09-15. Also installable with macports: sudo port install cpi.
install
brew install cpilocal Homebrew formula metadata
sudo port install cpiMacPorts ports tree · lang/cpi/Portfile · source: api.github.com
overview
Tiny c++ interpreter
history
cpi is a small C++ interpreter-style command-line tool from the TreeFrog Framework organization. Its upstream description and README present it as a tiny interpreter for C++20 or C++23 rather than as a separate language implementation.
The public GitHub repository was created in December 2012. The README documents a design that uses an installed C++ compiler internally, with Qt 6 and a C++ compiler as build/runtime requirements, so the package sits between a REPL, a script runner, and a thin compile-and-run wrapper.
Package-manager adoption appears niche: the supplied package facts list Homebrew and MacPorts. That is consistent with cpi's role as a developer convenience tool rather than a core language runtime.
The README shows interactive mode, execution of saved C++ source files, per-file compile options, pkg-config integration, and Qt examples. For package users, the important behavior is that cpi depends on the host compiler toolchain rather than shipping an independent C++ execution engine.
cpi is interesting to packagers because it exposes C++ as something close to a scripting workflow while still needing normal C++ and Qt build dependencies. Its documented per-user INI file also means an otherwise small CLI has a real configuration surface.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
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.
~/.config/cpi/cpi.iniexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cpi | 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/treefrogframework/cpi
install metadata
| Package key | brew:cpi |
|---|---|
| Version | 2.2.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cpi |
| Homepage | https://treefrogframework.github.io/cpi/ |
| Repository | https://github.com/treefrogframework/cpi |
| Upstream docs | https://treefrogframework.github.io/cpi/ |
| License | MIT |
| Source archive | https://github.com/treefrogframework/cpi/archive/refs/tags/v2.2.4.tar.gz |
| Last updated | 2026-09-15T15:02:45-04:00 |
| Pulse | updated |
| Dependencies | qtbase |
| Uses from macOS | llvm |
| 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 | cpi |
| 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.
cpi
sudo port install cpisource 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.