pkg.soopen package index

brew / 排名 7433

使用 Homebrew, MacPorts 安装 cpi

查看 cpi 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cpi

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install cpi

MacPorts ports tree · lang/cpi/Portfile · 来源: api.github.com

概览

软件包摘要

Tiny c++ interpreter

命令和别名

  • cpi

历史

项目历史与用法

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.

时间线

  • 2012: Public GitHub repository created.
  • 2025: README examples document cpi 2.2.0 and C++20/C++23 usage.
  • 2026: Upstream tags include 2.2.x releases and test-release tags.

Related projects

  • TreeFrog Framework is the upstream GitHub organization for cpi.
  • Qt and GCC, LLVM, or MSVC are documented build/runtime requirements.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:interpreter

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cpi可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.2.4
管理器更新时间2026-06-21
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:cpi
版本2.2.4
软件包管理器Homebrew
主页https://treefrogframework.github.io/cpi/
仓库https://github.com/treefrogframework/cpi
最后更新2026-06-21T15:37:37Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

cpi

sudo port install cpi
  • normalized package name match
  • 匹配方式:Cpi
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/cpi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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