# Installer aichat avec Homebrew, MacPorts, Nix, pacman, scoop, winget

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

## installation

```sh
sudo av install brew:aichat
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install aichat
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install aichat
```

  Preuve: MacPorts ports tree: textproc/aichat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#aichat
```

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

- pacman (92%):

```sh
sudo pacman -S aichat
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/aichat
```

  Preuve: Scoop official bucket manifest trees: bucket/aichat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id sigoden.AIChat -e
```

  Preuve: Windows Package Manager source index: sigoden.AIChat from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:aichat
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/aichat>
- **Version:** 0.30.0
- **Résumé source:** All-in-one AI-Powered CLI Chat & Copilot
- **Page d'accueil:** <https://github.com/sigoden/aichat>
- **Dépôt:** <https://github.com/sigoden/aichat>
- **Licence:** Apache-2.0 OR MIT
- **Archive source:** <https://github.com/sigoden/aichat/archive/refs/tags/v0.30.0.tar.gz>
- **Dernière mise à jour:** 2026-07-10T16:49:54-04:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- aichat (cli)
- aichat (alias)

## Dépendances de compilation

- rust

## Comportement d'installation

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

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.30.0
- gestionnaire mis à jour: 2026-07-10
- données locales: OK
- dépôt amont: https://github.com/sigoden/aichat
- dernière version détectée: v0.30.0 (à jour)
## Historique du projet et usages

AIChat is a Rust-based all-in-one LLM command-line tool. It combines a chat REPL, command mode, shell assistant, roles, sessions, macros, RAG, tool and agent support, and a local HTTP server under one CLI.

### Historique du projet

The GitHub repository was created in March 2023, and the first listed release, v0.1.0, was published the same day. Early positioning was simple CLI chat, but the current README describes a much broader terminal copilot with multi-provider model access.

By the current documentation, AIChat supports more than 20 LLM providers through a unified interface, including OpenAI, Claude, Gemini, Ollama, Groq, Azure OpenAI, Vertex AI, Bedrock, GitHub Models, Mistral, Deepseek, OpenRouter, and OpenAI-compatible APIs. Later features include RAG, custom roles, function calling, MCP-style tools, agents, shell integration, completions, and a local server exposing chat, embeddings, rerank, playground, and arena endpoints.

### Historique d'adoption

Official installation instructions cover cargo install, Homebrew/Linuxbrew, pacman, Scoop, Termux, and prebuilt binaries for macOS, Linux, and Windows. The supplied package facts also list MacPorts, Nix, winget, and additional package-manager entries.

The repository's GitHub metadata shows five-figure stars by this run, and official releases continued through at least v0.30.0 in July 2025. Its adoption profile is broader than a single provider wrapper: it is used as a terminal frontend for many commercial, hosted, and local models.

### Modes d'utilisation

AIChat can be run with a plain prompt, as an interactive REPL, as a shell assistant with natural-language command execution, as a code-output filter, with files or URLs as inputs, with named roles or sessions, with RAG collections, with agents, or as a local API server.

Configuration lives in a per-user config directory as config.yaml, and secrets may be stored in the config directory's .env file or supplied with provider-specific environment variables such as OPENAI_API_KEY. The wiki documents AICHAT_CONFIG_DIR, AICHAT_ENV_FILE, AICHAT_CONFIG_FILE, and related overrides.

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

AIChat is significant because it packages much of the post-2023 LLM terminal workflow into one distributable binary: chat, shell command generation, file ingestion, provider abstraction, local serving, RAG, and agents.

For package maintainers, it is also a good example of modern CLI packaging pressure: rapid upstream releases, many optional provider integrations, cross-platform binaries, shell completions, and config paths that differ by OS.

### Chronologie

- 2023: GitHub repository created and v0.1.0 released.
- 2024: Releases expanded through v0.20+ while multi-provider and workflow features matured.
- 2025: v0.30.0 released in July.
- 2026: Official repository metadata and input package facts show broad cross-platform package-manager availability.

### Related projects

- AIChat is related to provider-specific CLIs and SDKs for OpenAI, Anthropic Claude, Gemini, Ollama, Bedrock, Mistral, and other model services.
- The README points to sigoden/llm-functions for external tool/function-calling support.

### Sources

- <https://api.github.com/repos/sigoden/aichat>
- <https://api.github.com/repos/sigoden/aichat/releases?per_page=100>
- <https://github.com/sigoden/aichat#readme>
- <https://github.com/sigoden/aichat/wiki/Command-Line-Guide>
- <https://github.com/sigoden/aichat/wiki/Configuration-Guide>
- <https://github.com/sigoden/aichat/wiki/Environment-Variables>
- 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

- Linux: /home/alice/.config/aichat/config.yaml
- macOS: /Users/Alice/Library/Application Support/aichat/config.yaml
- Windows: C:\Users\Alice\AppData\Roaming\aichat\config.yaml

## Credential files

- Linux: /home/alice/.config/aichat/.env
- macOS: /Users/Alice/Library/Application Support/aichat/.env
- Windows: C:\Users\Alice\AppData\Roaming\aichat\.env
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** aichat
- **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 - aichat: normalized package name match | nixpkgs package indexes: pkgs/by-name/ai/aichat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - aichat - 0.30.0-3: normalized package name match | Arch Linux sync databases: aichat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | All-in-one AI CLI tool featuring Chat-REPL, Shell Assistant, RAG, AI tools & agents | https://github.com/sigoden/aichat
- MacPorts - aichat: normalized package name match | MacPorts ports tree: textproc/aichat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/aichat: normalized package name match | Scoop official bucket manifest trees: bucket/aichat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - sigoden.AIChat: normalized package name match | Windows Package Manager source index: sigoden.AIChat from https://cdn.winget.microsoft.com/cache/source.msix


## 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.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [oterm](https://pkg.so/fr/brew/oterm/) - Shares pkgdb curated category or tags: ai, chat, cli, model-tools.
- [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.
- [ramalama](https://pkg.so/fr/brew/ramalama/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [apfel](https://pkg.so/fr/brew/apfel/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [kubectl-ai](https://pkg.so/fr/brew/kubectl-ai/) - Local package facts share a topical domain. Shared terms: ai, cli, model, model-tools, powered.
- [mlx-lm](https://pkg.so/fr/brew/mlx-lm/) - Local package facts share a topical domain. Shared terms: ai, chat, cli, model, model-tools.

## Combined YAML source

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