macOS
brew install core-lightninglocal Homebrew formula metadata
安装
brew install core-lightninglocal Homebrew formula metadata
概览
Lightning Network implementation focusing on spec compliance and performance
历史
Core Lightning is a C implementation of the Lightning Network protocol that focuses on specification compliance, performance, modularity, and node-operator control. It was formerly known as c-lightning and remains one of the main Lightning node implementations used by technically inclined Bitcoin operators.
The ElementsProject/lightning repository was created in 2015, during the early implementation period for the Lightning Network. The official README describes Core Lightning, previously c-lightning, as a lightweight, highly customizable, standard-compliant Lightning Network implementation.
The project reached production use on Bitcoin mainnet in early 2018 with the launch of Blockstream Store. Its documentation later standardized on the Core Lightning and CLN names while keeping the same implementation lineage.
Core Lightning adoption has been strongest among node operators, protocol developers, and businesses that want a scriptable daemon, JSON-RPC interface, plugin system, and close tracking of Lightning Network specifications. Its support for plugins and multiple API surfaces makes it especially common in custom node infrastructure.
A normal installation runs lightningd alongside a synchronized bitcoind node, then controls it with lightning-cli, JSON-RPC, plugins, or newer API surfaces. Configuration is conventionally stored under ~/.lightning, with network-specific config directories, and the hsm_secret file is the critical wallet-secret material.
For package maintainers, Core Lightning is more than a CLI: it ships a daemon, client tools, helper tools, plugins, manpage-style docs, and sensitive runtime state expectations. Packaging has to respect platform support, Bitcoin Core integration, database choices, and key material locations.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.lightning/config~/.lightning/bitcoin/configCredential-bearing paths to review before unattended agent runs.
$LIGHTNINGDIR/hsm_secret可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lightning-cli | cli | 全局可执行文件 | |
lightning-hsmtool | cli | 全局可执行文件 | |
lightningd | cli | 全局可执行文件 | |
reckless | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ElementsProject/lightning
安装元数据
| 软件包键 | brew:core-lightning |
|---|---|
| 版本 | 26.06.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/core-lightning |
| 主页 | https://github.com/ElementsProject/lightning |
| 仓库 | https://github.com/ElementsProject/lightning |
| 上游文档 | https://docs.corelightning.org/docs/home |
| 许可证 | MIT |
| 源码归档 | https://github.com/ElementsProject/lightning/releases/download/v26.06.2/clightning-v26.06.2.zip |
| 最后更新 | 2026-06-29T07:58:06Z |
| Pulse | updated |
| 依赖 | bitcoin, libsodium, sqlite |
| 构建依赖 | autoconf, automake, gettext, gnu-sed, libtool, lowdown, pkgconf, protobuf, python@3.14, rust, uv |
| macOS 提供的库 | python |
| 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 | core-lightning |
| Aliases |
|
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.