# 使用 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
- **版本:** 0.7.0
- **来源摘要:** CLI Swiss Army Knife for ChatGPT
- **主页:** <https://github.com/npiv/chatblade>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- chatblade (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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
## 其他软件包管理器记录

- 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


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