# Install tgpt with Homebrew, Nix, pacman

AI Chatbots in terminal without needing API keys. Version 2.11.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:tgpt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tgpt
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tgpt
```

  Evidence: nixpkgs package indexes: pkgs/by-name/tg/tgpt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S tgpt
```

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

## Package facts

- **Package key:** brew:tgpt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tgpt>
- **Version:** 2.11.1
- **Source summary:** AI Chatbots in terminal without needing API keys
- **Homepage:** <https://github.com/aandrew-me/tgpt>
- **Repository:** <https://github.com/aandrew-me/tgpt>
- **Upstream docs:** <https://github.com/aandrew-me/tgpt#readme>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/aandrew-me/tgpt/archive/refs/tags/v2.11.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- tgpt (cli)
- tgpt (alias)

## Build dependencies

- go

## 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: 2.11.1
- Local data: ok
- Upstream repository: https://github.com/aandrew-me/tgpt
- Upstream latest detected: v2.11.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

tgpt is a cross-platform terminal client for AI chat providers. Its README presents the tool as a way to use AI in the terminal and emphasizes provider support without requiring a user-managed API key for the common path described in the package metadata.

### Project history

The public source-backed history is thin, but the project is clearly organized around a Go command-line executable, a provider list, release binaries, and installer scripts for Unix-like systems and Windows.

### Adoption history

The README documents installation through Homebrew, Arch Linux, FreeBSD ports/packages, Go, Scoop, and Chocolatey. The Homebrew input also records packaging in Homebrew, Nix, and pacman.

### How it is used

Package users install the `tgpt` command to query AI chat services from a shell, update script-installed copies with `tgpt -u`, and optionally configure HTTP or SOCKS proxy settings through environment variables or proxy.txt files.

### Why package nerds care

tgpt belongs to the post-LLM wave of small terminal-first AI tools: its package-manager relevance is less about a long lineage and more about making AI chat available as a simple executable in the same workflows where developers already use curl, shells, and package managers.

### Timeline

- 2020s: Project README documents multi-platform terminal AI usage and package-manager installation.
- 2020s: README documents Homebrew, Arch Linux, FreeBSD, Go, Scoop, and Chocolatey installation paths.

### Related projects

- The README links to its provider documentation for the currently available AI backends.

### Sources

- Official README: https://github.com/aandrew-me/tgpt#readme
- Official provider docs linked from README: https://github.com/aandrew-me/tgpt/blob/main/md/providers.md
- source_facts.package-manager


## 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: ./proxy.txt, ~/.config/tgpt/proxy.txt
## Source Database Details

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

## Other Package-Manager Records

- Nix - tgpt: normalized package name match | nixpkgs package indexes: pkgs/by-name/tg/tgpt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - tgpt - 2.11.1-1: normalized package name match | Arch Linux sync databases: tgpt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | AI Chatbots in terminal without needing API keys | https://github.com/aandrew-me/tgpt


## 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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [openclaw-cli](https://www.automicvault.com/pkg/brew/openclaw-cli/) - Shares av.db curated category or tags: ai-assistant, cli, productivity.
- [abook](https://www.automicvault.com/pkg/brew/abook/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [aerc](https://www.automicvault.com/pkg/brew/aerc/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [alot](https://www.automicvault.com/pkg/brew/alot/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [alpine](https://www.automicvault.com/pkg/brew/alpine/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [amp](https://www.automicvault.com/pkg/brew/amp/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [bagels](https://www.automicvault.com/pkg/brew/bagels/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [bartib](https://www.automicvault.com/pkg/brew/bartib/) - Shares av.db curated category or tags: cli, productivity, terminal.
- [eureka](https://www.automicvault.com/pkg/brew/eureka/) - Local package facts share a topical domain. Shared terms: cli, productivity, terminal, without.

## Combined YAML source

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