macOS
brew install cpilocal Homebrew formula metadata
sudo port install cpiMacPorts ports tree · lang/cpi/Portfile · ソース: api.github.com
brew
cpi のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cpilocal Homebrew formula metadata
sudo port install cpiMacPorts ports tree · lang/cpi/Portfile · ソース: api.github.com
概要
Tiny c++ interpreter
履歴
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.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cpi | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/treefrogframework/cpi
インストールメタデータ
| パッケージキー | brew:cpi |
|---|---|
| バージョン | 2.2.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/cpi |
| ホームページ | https://treefrogframework.github.io/cpi/ |
| リポジトリ | https://github.com/treefrogframework/cpi |
| 上流ドキュメント | https://github.com/treefrogframework/cpi#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/treefrogframework/cpi/archive/refs/tags/v2.2.4.tar.gz |
| 最終更新 | 2026-06-21T15:37:37Z |
| Pulse | updated |
| 依存関係 | qtbase |
| macOS 提供ライブラリ | llvm |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
cpi
sudo port install cpiソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.