# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/core-lightning>
- **バージョン:** 26.06.6
- **ソース概要:** Lightning Network implementation focusing on spec compliance and performance
- **ホームページ:** <https://github.com/ElementsProject/lightning>
- **リポジトリ:** <https://github.com/ElementsProject/lightning>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/ElementsProject/lightning/releases/download/v26.06.6/clightning-v26.06.6.zip>
- **最終更新:** 2026-07-27T15:30:01+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- bitcoin
- libsodium
- sqlite

## ビルド依存関係

- autoconf
- automake
- gettext
- gnu-sed
- libtool
- lowdown
- pkgconf
- protobuf
- python@3.14
- rust
- uv

## macOS 提供ライブラリ

- python

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 26.06.6
- マネージャ更新日: 2026-07-27
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/ElementsProject/lightning
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** core-lightning
- **Aliases:** lightningd
- **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:** head, stable


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [sqlite](https://pkg.so/ja/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [bitcoin](https://pkg.so/ja/brew/bitcoin/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Build dependency declared by Homebrew.
- [gettext](https://pkg.so/ja/brew/gettext/) - Build dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [uv](https://pkg.so/ja/brew/uv/) - Build dependency declared by Homebrew.
- [pay](https://pkg.so/ja/brew/pay/) - Shares pkgdb curated category or tags: cli, networking, payments.
- [stellar-core](https://pkg.so/ja/brew/stellar-core/) - Shares pkgdb curated category or tags: cli, networking, node.
- [ord](https://pkg.so/ja/brew/ord/) - Shares pkgdb curated category or tags: bitcoin, cli, networking.
- [floresta](https://pkg.so/ja/brew/floresta/) - Shares pkgdb curated category or tags: bitcoin, cli, networking.
- [c-ares](https://pkg.so/ja/brew/c-ares/) - Shares pkgdb curated category or tags: cli, networking.
- [unbound](https://pkg.so/ja/brew/unbound/) - Shares pkgdb curated category or tags: cli, networking.
- [curl](https://pkg.so/ja/brew/curl/) - Shares pkgdb curated category or tags: cli, networking.
- [cjdns](https://pkg.so/ja/brew/cjdns/) - Local package facts share a topical domain. Shared terms: cli, libsodium, networking.
- [copyparty](https://pkg.so/ja/brew/copyparty/) - Local package facts share a topical domain. Shared terms: cli, libsodium, networking.
- [fastd](https://pkg.so/ja/brew/fastd/) - Local package facts share a topical domain. Shared terms: cli, libsodium, networking.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
