pkg.soopen package index

brew / 排名 7919

使用 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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

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
~/.config/cpi/cpi.ini

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cpicli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-09-19
管理器版本2.2.4
管理器更新时间2026-09-15
本地数据OK
上游当前
检测到的最新版本v2.2.4

https://github.com/treefrogframework/cpi

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:cpi
版本2.2.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cpi
主页https://treefrogframework.github.io/cpi/
仓库https://github.com/treefrogframework/cpi
上游文档https://treefrogframework.github.io/cpi/
许可证MIT
源码归档https://github.com/treefrogframework/cpi/archive/refs/tags/v2.2.4.tar.gz
最后更新2026-09-15T15:02:45-04:00
Pulseupdated
依赖qtbase
macOS 提供的库llvm
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation