# core-lightning を Homebrew でインストール

core-lightning のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:core-lightning
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install core-lightning
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:core-lightning
- **パッケージマネージャ:** Homebrew
- **バージョン:** 26.06.6
- **ソース概要:** Lightning Network implementation focusing on spec compliance and performance
- **ホームページ:** <https://github.com/ElementsProject/lightning>
- **リポジトリ:** <https://github.com/ElementsProject/lightning>
- **最終更新:** 2026-07-27T15:30:01+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- lightning-cli (エイリアス)
- lightning-hsmtool (エイリアス)
- lightningd (エイリアス)
- reckless (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 26.06.6
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/ElementsProject/lightning>
- <https://github.com/ElementsProject/lightning#readme>
- <https://github.com/ElementsProject/lightning/releases>
- <https://docs.corelightning.org/docs/home>
- <https://docs.corelightning.org/docs/configuring-your-node>
- <https://docs.corelightning.org/docs/securing-keys>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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

- Unix: ~/.lightning/config, ~/.lightning/bitcoin/config

## Credential files

- Unix: $LIGHTNINGDIR/hsm_secret

## Combined YAML source

View the package source record on GitHub. [combined/core-lightning.yml](https://github.com/mxcl/pkgdb/blob/main/combined/core-lightning.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
