# 使用 Homebrew, zypper 安装 fred

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

## 安装

```sh
sudo av install brew:fred
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fred
```

  证据: local Homebrew formula metadata

### Linux

- zypper (92%):

```sh
sudo zypper install fred
```

  证据: openSUSE Tumbleweed package metadata: fred from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:fred
- **软件包管理器:** Homebrew
- **版本:** 1.2.1
- **来源摘要:** Fully featured FRED Command-line Interface & Python API wrapper
- **主页:** <https://fred.stlouisfed.org/docs/api/fred/>
- **最后更新:** 2026-05-21T13:53:34Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- categories (别名)
- fred (别名)
- releases (别名)
- series (别名)
- sources (别名)
- tags (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Fred CLI & Python API is a Python package and command-line interface for the Federal Reserve Bank of St. Louis FRED API. It wraps FRED data endpoints in Python modules and exposes separate CLI commands for major endpoint groups such as categories, releases, series, sources, and tags.

### 项目历史

The GitHub repository was created in June 2022. The first pre-alpha release was published on June 23, 2022 as the first PyPI release, followed quickly by dependency fixes, full API stubs, a first full implementation of all APIs, and a test suite.

The project metadata describes it as production/stable, intended for developers, finance users, and science/research users. The README documents installation through Homebrew and PyPI, Read the Docs API documentation, a GitHub wiki, FRED API documentation, and API key creation through the St. Louis Fed account site.

### 采用历史

The package is packaged for Homebrew as fred and for Python as fred-py-api on PyPI. Its README also documents shell completion snippets for zsh, bash, and fish, which is a sign that the CLI was intended for repeated terminal use rather than only occasional scripting.

### 使用方式

Users install the package with brew install fred or pip install fred-py-api. The pyproject defines console scripts named fred, categories, releases, series, sources, and tags; these map to the main FRED data domains exposed by the official St. Louis Fed API documentation.

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

Fred is interesting as a package because it turns a public economic-data web API into both importable Python modules and Unix-style subcommands. It packages a government-backed data source in a way that fits shell workflows, notebooks, finance scripts, and reproducible research pipelines.

### 时间线

- 2022: Repository created on June 22.
- 2022: v0.0.1-pre-alpha released as the first PyPI release.
- 2022: v0.0.5-pre-alpha marked the first full implementation of all APIs.
- 2022: v0.0.6-pre-alpha added a test suite with full coverage notes.
- 2022: v0.1.0-beta published after alpha releases.
- 2024: Read the Docs documentation generated for fred-py-api 1.2.0.
- 2026: Repository metadata shows active version 1.2.1 in pyproject.

### Related projects

- The project is directly related to the official FRED API, the FRED API key service, the fred-py-api Read the Docs site, and Python packaging through PyPI. It is also related to Click and Requests, which are listed as package dependencies.

### 来源

- <https://api.github.com/repos/zachspar/fred-py-api>
- <https://fred-py-api.readthedocs.io/en/latest>
- <https://fred.stlouisfed.org/docs/api/fred>
- <https://github.com/zachspar/fred-py-api>
- <https://github.com/zachspar/fred-py-api/releases>


## 安全说明

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


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

- zypper - fred - 0.2.0-1.30: normalized package name match | openSUSE Tumbleweed package metadata: fred from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Forensic Registry EDitor, an editor for Microsoft Registry hives | https://www.pinguin.lu/fred
- zypper - tags - 1.8-1.5: installed executable or alias match | openSUSE Tumbleweed package metadata: tags from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A simple text tagger | https://github.com/phastmike/tags


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
