# 使用 Homebrew, Nix 安装 stellar-core

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install stellar-core
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#stellar-core
```

  证据: nixpkgs package indexes: pkgs/by-name/st/stellar-core/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:stellar-core
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/stellar-core>
- **版本:** 27.1.0
- **来源摘要:** Backbone of the Stellar (XLM) network
- **主页:** <https://www.stellar.org/>
- **仓库:** <https://github.com/stellar/stellar-core>
- **上游文档:** <https://www.stellar.org/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/stellar/stellar-core.git>
- **最后更新:** 2026-06-26T02:17:39Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- stellar-core (cli)
- stellar-core (别名)

## 依赖

- libpq

## 构建依赖

- autoconf
- automake
- bison
- libtool
- pandoc
- pkgconf
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 27.1.0
- 管理器更新时间: 2026-06-26
- 本地数据: OK
- 上游仓库: https://github.com/stellar/stellar-core
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Stellar Core is the reference peer-to-peer node software for the Stellar network. In package-manager terms it is the heavyweight daemon-like package behind Stellar infrastructure, valued by operators who want to run validators, test networks, history archives, or local network services from a reproducible install.

### 项目历史

The Stellar Development Foundation dates its inception to 2014, and the Stellar Core GitHub repository was created in November 2014. The README describes stellar-core as a replicated state machine that keeps a local copy of a cryptographic ledger and processes transactions in consensus with peers using the Stellar Consensus Protocol.

### 采用历史

Official validator documentation treats Stellar Core as the software used to run nodes and validators, and the integration documentation places it at the bottom of the Stellar stack, with services such as Horizon built on top of it. Its adoption is therefore infrastructure-oriented: exchanges, ecosystem services, validators, and developers run it to participate in, observe, or test the network.

### 使用方式

Common usage centers on configuring `stellar-core.cfg`, initializing or joining networks, starting the `stellar-core` service, monitoring node health, publishing or consuming history archives, and exposing administrative command endpoints. The official history-archive docs show `/etc/stellar/stellar-core.cfg` as the configuration file used for archive setup.

### 为什么软件包爱好者会关心

Package nerds care about Stellar Core because it is not just a CLI wrapper: it is a C++ network service with consensus behavior, storage, history archive configuration, and protocol-version coupling. Packaging it well means tracking compiler/runtime support, service files, default config paths, and predictable upgrades for node operators.

### 时间线

- 2014: Stellar Development Foundation inception.
- 2014: Public stellar-core GitHub repository created.
- 2022: GitHub releases include v19.0.0 and later protocol-era releases.
- 2026: GitHub releases continued through v27.1.0.

### Related projects

- Stellar Core sits below Horizon, validator tooling, history archives, Stellar CLI, Stellar XDR libraries, and other Stellar network services.

### 来源

- <https://api.github.com/repos/stellar/stellar-core>
- <https://api.github.com/repos/stellar/stellar-core/releases>
- <https://developers.stellar.org/docs/validators>
- <https://developers.stellar.org/docs/validators/admin-guide/publishing-history-archives>
- <https://github.com/stellar/stellar-core>
- <https://github.com/stellar/stellar-core/blob/master/docs/integration.md>
- <https://stellar.org/foundation/mandate>
- input.source_facts.package-manager


## 安全说明

没有找到 stellar-core 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



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

- Linux: /etc/stellar/stellar-core.cfg
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** stellar-core
- **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

## 其他软件包管理器记录

- Nix - stellar-core: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stellar-core/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched web development metadata.
- [libpq](https://pkg.so/zh-hans/brew/libpq/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [stellar-cli](https://pkg.so/zh-hans/brew/stellar-cli/) - Package name indicates the same formula family.
- [bitcoin](https://pkg.so/zh-hans/brew/bitcoin/) - Shares pkgdb curated category or tags: blockchain, cli, networking.
- [btcli](https://pkg.so/zh-hans/brew/btcli/) - Shares pkgdb curated category or tags: blockchain, cli, networking.
- [lighthouse](https://pkg.so/zh-hans/brew/lighthouse/) - Shares pkgdb curated category or tags: blockchain, cli, networking.
- [core-lightning](https://pkg.so/zh-hans/brew/core-lightning/) - Shares pkgdb curated category or tags: cli, networking, node.
- [hsd](https://pkg.so/zh-hans/brew/hsd/) - Shares pkgdb curated category or tags: blockchain, cli, networking.
- [oasis](https://pkg.so/zh-hans/brew/oasis/) - Shares pkgdb curated category or tags: blockchain, cli, networking.
- [teku](https://pkg.so/zh-hans/brew/teku/) - Shares pkgdb curated category or tags: blockchain, cli, networking.
- [grin](https://pkg.so/zh-hans/brew/grin/) - Shares pkgdb curated category or tags: blockchain, cli, networking.
- [groestlcoin](https://pkg.so/zh-hans/brew/groestlcoin/) - Local metadata places this package in an adjacent workflow. Shared terms: blockchain, cli, network, networking.

## Combined YAML source

View the package source record on GitHub. [combined/stellar-core.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stellar-core.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
- external package-manager database matches
- cross-ecosystem install command graph
