macOS
brew install clinglocal Homebrew formula metadata
brew
C++ interpreter. Version 1.3 via Homebrew; verified from local package data.
install
brew install clinglocal Homebrew formula metadata
nix profile install nixpkgs#clingnixpkgs package indexes · pkgs/by-name/cl/cling/package.nix · source: api.github.com
overview
C++ interpreter
history
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.
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.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cling | 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/root-project/cling
install metadata
| Package key | brew:cling |
|---|---|
| Version | 1.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cling |
| Homepage | https://root.cern/cling/ |
| Repository | https://github.com/root-project/cling |
| Upstream docs | https://root.cern/cling |
| License | (LGPL-2.1-only OR NCSA) AND (Apache-2.0 WITH LLVM-exception) |
| Source archive | https://github.com/root-project/cling/archive/refs/tags/v1.3.tar.gz |
| Dependencies | zstd |
| Build dependencies | cmake |
| Uses from macOS | libedit, libxml2, ncurses |
| 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 | 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cling
nix profile install nixpkgs#clingsource 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.