# Installer tgpt avec Homebrew, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de tgpt pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install tgpt
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

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

## Faits du paquet

- **Clé du paquet:** brew:tgpt
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/tgpt>
- **Version:** 2.12.0
- **Résumé source:** AI Chatbots in terminal without needing API keys
- **Page d'accueil:** <https://github.com/aandrew-me/tgpt>
- **Dépôt:** <https://github.com/aandrew-me/tgpt>
- **Licence:** GPL-3.0-only
- **Archive source:** <https://github.com/aandrew-me/tgpt/archive/refs/tags/v2.12.0.tar.gz>
- **Dernière mise à jour:** 2026-07-27T01:52:16Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- tgpt (cli)
- tgpt (alias)

## Dépendances de compilation

- go

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 2.12.0
- gestionnaire mis à jour: 2026-07-27
- données locales: OK
- dépôt amont: https://github.com/aandrew-me/tgpt
- dernière version détectée: v2.12.0 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- 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
## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://pkg.so/fr/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/fr/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://pkg.so/fr/brew/go/) - Build dependency declared by Homebrew.
- [mods](https://pkg.so/fr/brew/mods/) - Shares pkgdb curated category or tags: ai, cli, model-tools, terminal.
- [gptline](https://pkg.so/fr/brew/gptline/) - Shares pkgdb curated category or tags: ai, cli, model-tools, terminal.
- [chatblade](https://pkg.so/fr/brew/chatblade/) - Shares pkgdb curated category or tags: ai, cli, model-tools, terminal.
- [ollama](https://pkg.so/fr/brew/ollama/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [llama.cpp](https://pkg.so/fr/brew/llama-cpp/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [llmfit](https://pkg.so/fr/brew/llmfit/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [cliproxyapi](https://pkg.so/fr/brew/cliproxyapi/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [llm](https://pkg.so/fr/brew/llm/) - Shares pkgdb curated category or tags: ai, cli, model-tools.

## Combined YAML source

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


## Sources

- 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
