# 使用 Homebrew, Nix, pacman 安装 chatblade

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

## 安装

```sh
sudo av install brew:chatblade
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install chatblade
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#chatblade
```

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

- pacman (92%):

```sh
sudo pacman -S chatblade
```

  证据: Arch Linux sync databases: chatblade from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:chatblade
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/chatblade>
- **版本:** 0.7.0
- **来源摘要:** CLI Swiss Army Knife for ChatGPT
- **主页:** <https://github.com/npiv/chatblade>
- **仓库:** <https://github.com/npiv/chatblade>
- **许可证:** GPL-3.0-only
- **源码归档:** <https://files.pythonhosted.org/packages/ff/02/e7dfd50d98139472851d03d793c39aebe1364a960648312d252137b0ec25/chatblade-0.7.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- chatblade (cli)
- chatblade (别名)

## 依赖

- certifi
- libyaml
- pydantic
- python@3.13

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.7.0
- 本地数据: OK
- 上游仓库: https://github.com/npiv/chatblade
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Chatblade is a command-line ChatGPT client built for the early wave of LLM CLI tooling: it accepts arguments or piped input, stores sessions, loads reusable prompt files, streams responses, and can extract Markdown or JSON from model output.

### 项目历史

The GitHub repository was created in March 2023, a few months after ChatGPT popularized conversational LLM workflows. Release metadata shows a first public release on March 20, 2023, rapid 0.2.x releases in April 2023, and a latest v0.7.0 release in October 2024. The README now states that the project is archived and no longer under active development.

### 采用历史

Chatblade was distributed through pip, Homebrew, and source installs from GitHub; the input facts also list Nix and pacman packaging. Its README examples target shell users who want to pipe content into ChatGPT, keep named sessions, and reuse prompt preambles from a config directory.

### 使用方式

Common uses include `chatblade question`, piping files or RSS feeds into a prompt, continuing the last conversation with `-l`, creating named sessions with `-S`, loading prompt files with `-p`, selecting models with `-c`, and extracting structured output with `-e`. Authentication is by `OPENAI_API_KEY` or an explicit `--openai-api-key` option.

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

Chatblade is notable as an early packaged LLM command-line client that made ChatGPT feel like a Unix filter. Its package significance is less about long-term infrastructure and more about the 2023 moment when package managers filled quickly with small CLIs wrapping hosted LLM APIs for pipes, prompts, and shell automation.

### 时间线

- 2023-03: GitHub repository created and first public release v0.0.1 published.
- 2023-04: Rapid 0.2.x releases added early functionality.
- 2024-10: Latest upstream GitHub release metadata lists v0.7.0.
- 2026: README states the project is archived and recommends newer CLI tools.

### Related projects

- The README recommends `llm` and Fabric as modern CLI tools in the same spirit.
- OpenAI ChatGPT and OpenAI/Azure OpenAI APIs are the model services documented by the README.
- Codex and Claude Code are mentioned by the README as newer direct coding-assistant options.

### 来源

- <https://github.com/npiv/chatblade>
- <https://api.github.com/repos/npiv/chatblade>
- <https://api.github.com/repos/npiv/chatblade/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: ~/.config/chatblade/{prompt_name}, ~/.config/chatblade/{prompt_name}.yaml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** chatblade
- **Version Scheme:** 0
- **Revision:** 6
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - chatblade: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chatblade/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - chatblade - 0.7.0-3: normalized package name match | Arch Linux sync databases: chatblade from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A CLI Swiss Army Knife for ChatGPT | https://github.com/npiv/chatblade


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://pkg.so/zh-hans/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/zh-hans/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [python@3.13](https://pkg.so/zh-hans/brew/python-3-13/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [gptline](https://pkg.so/zh-hans/brew/gptline/) - Shares pkgdb curated category or tags: ai, chatgpt, cli, model-tools, terminal.
- [mods](https://pkg.so/zh-hans/brew/mods/) - Shares pkgdb curated category or tags: ai, cli, model-tools, terminal.
- [tgpt](https://pkg.so/zh-hans/brew/tgpt/) - Shares pkgdb curated category or tags: ai, cli, model-tools, terminal.
- [cai](https://pkg.so/zh-hans/brew/cai/) - Shares pkgdb curated category or tags: ai, cli, model-tools, openai.
- [tenere](https://pkg.so/zh-hans/brew/tenere/) - Shares pkgdb curated category or tags: ai, chatgpt, cli, model-tools.
- [toktop](https://pkg.so/zh-hans/brew/toktop/) - Shares pkgdb curated category or tags: ai, cli, model-tools, openai.
- [ollama](https://pkg.so/zh-hans/brew/ollama/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [llama.cpp](https://pkg.so/zh-hans/brew/llama-cpp/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [oterm](https://pkg.so/zh-hans/brew/oterm/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, libyaml, model.
- [rapid-mlx](https://pkg.so/zh-hans/brew/rapid-mlx/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, libyaml, model.

## Combined YAML source

View the package source record on GitHub. [combined/chatblade.yml](https://github.com/mxcl/pkgdb/blob/main/combined/chatblade.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
