macOS
brew install clinglocal Homebrew formula metadata
安装
brew install clinglocal Homebrew formula metadata
nix profile install nixpkgs#clingnixpkgs package indexes · pkgs/by-name/cl/cling/package.nix · 来源: api.github.com
概览
C++ interpreter
历史
Cling is an interactive C++ interpreter built on Clang and LLVM. The official README describes it as a REPL that reuses Clang diagnostics, supports interactive C++ development, and can be used from the command line or as a Jupyter kernel.
Cling emerged from the ROOT high-energy physics ecosystem as the new interpreter for ROOT 6. The official README includes a peer-reviewed CHEP 2012 citation, 'Cling - The New Interactive Interpreter for ROOT 6', and the ROOT documentation presents Cling as ROOT's C++ interpreter.
Cling's adoption is strongest through ROOT rather than as an isolated package. In package-manager culture, standalone formulae such as Homebrew and Nix expose it to users who want an interactive C++ REPL without installing or centering an entire ROOT workflow.
The README documents building Cling with the matching root-project LLVM branch, running cling with inline C++ snippets or an interactive prompt, using .help, and enabling a Jupyter kernel. The ROOT manual covers prompt commands and interactive C++ usage inside ROOT.
Cling is package-nerd significant because it turns a compiled language and a large compiler infrastructure into a packaged interactive runtime. It also illustrates the maintenance burden of packaging tools that track LLVM and Clang closely, which is why distribution recipes matter for users who just want a working C++ REPL.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cling | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/root-project/cling
安装元数据
| 软件包键 | brew:cling |
|---|---|
| 版本 | 1.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cling |
| 主页 | https://root.cern/cling/ |
| 仓库 | https://github.com/root-project/cling |
| 上游文档 | https://root.cern/cling |
| 许可证 | (LGPL-2.1-only OR NCSA) AND (Apache-2.0 WITH LLVM-exception) |
| 源码归档 | https://github.com/root-project/cling/archive/refs/tags/v1.3.tar.gz |
| 依赖 | zstd |
| 构建依赖 | cmake |
| macOS 提供的库 | libedit, libxml2, ncurses |
| 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 | cling |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cling
nix profile install nixpkgs#cling来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.