Automic VaultAutomic Vault

brew

使用 Homebrew 安装 core-lightning

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install core-lightning

local Homebrew formula metadata

概览

软件包摘要

Lightning Network implementation focusing on spec compliance and performance

命令和别名

  • lightning-cli
  • lightning-hsmtool
  • lightningd
  • reckless

历史

项目历史与用法

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.

时间线

  • 2015: ElementsProject/lightning repository created.
  • 2018: c-lightning/Core Lightning in production use on Bitcoin mainnet with Blockstream Store.
  • 2020s: Documentation and README use the Core Lightning and CLN names for the former c-lightning project.
  • 2026: v26.06.x releases show continued active upstream maintenance.

Related projects

  • Core Lightning is related to Bitcoin Core, the Lightning Network specifications, other Lightning implementations such as LND and Eclair, and CLN's plugin and RPC ecosystem.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:network

安装行为

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

建议审查

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

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
~/.lightning/config~/.lightning/bitcoin/config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
$LIGHTNINGDIR/hsm_secret

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lightning-clicli全局可执行文件
lightning-hsmtoolcli全局可执行文件
lightningdcli全局可执行文件
recklesscli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-11
管理器版本26.06.2
管理器更新时间2026-06-29
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namecore-lightning
Aliases
  • lightningd
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment