# Install chatblade with Homebrew, Nix, pacman

CLI Swiss Army Knife for ChatGPT. Version 0.7.0 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install chatblade
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:chatblade
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/chatblade>
- **Version:** 0.7.0
- **Source summary:** CLI Swiss Army Knife for ChatGPT
- **Homepage:** <https://github.com/npiv/chatblade>
- **Repository:** <https://github.com/npiv/chatblade>
- **Upstream docs:** <https://github.com/npiv/chatblade#readme>
- **License:** GPL-3.0-only
- **Source archive:** <https://files.pythonhosted.org/packages/ff/02/e7dfd50d98139472851d03d793c39aebe1364a960648312d252137b0ec25/chatblade-0.7.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- chatblade (cli)
- chatblade (alias)

## Dependencies

- certifi
- libyaml
- pydantic
- python@3.13

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.7.0
- Local data: ok
- Upstream repository: https://github.com/npiv/chatblade
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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 Details

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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://www.automicvault.com/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [python@3.13](https://www.automicvault.com/pkg/brew/python-3-13/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [kimi-cli](https://www.automicvault.com/pkg/brew/kimi-cli/) - Shares av.db curated category or tags: ai, cli, developer-tools, terminal.
- [skillshare](https://www.automicvault.com/pkg/brew/skillshare/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [gptline](https://www.automicvault.com/pkg/brew/gptline/) - Shares av.db curated category or tags: ai, chatgpt, cli, developer-tools, terminal.
- [gptme](https://www.automicvault.com/pkg/brew/gptme/) - Shares av.db curated category or tags: ai, cli, developer-tools, terminal.
- [langgraph-cli](https://www.automicvault.com/pkg/brew/langgraph-cli/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [mods](https://www.automicvault.com/pkg/brew/mods/) - Shares av.db curated category or tags: ai, cli, developer-tools, terminal.
- [openskills](https://www.automicvault.com/pkg/brew/openskills/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [aichat](https://www.automicvault.com/pkg/brew/aichat/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [oterm](https://www.automicvault.com/pkg/brew/oterm/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/chatblade.yml](https://github.com/automic-vault/db/blob/main/combined/chatblade.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
