# 使用 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
- **版本:** 27.1.0
- **来源摘要:** Backbone of the Stellar (XLM) network
- **主页:** <https://www.stellar.org/>
- **仓库:** <https://github.com/stellar/stellar-core>
- **最后更新:** 2026-06-26T02:17:39Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- stellar-core (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 27.1.0
## 项目历史与用法

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 其他软件包管理器记录

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
