Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, pacman, scoop, winget 安装 aichat

查看 aichat 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install aichat

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install aichat

MacPorts ports tree · textproc/aichat/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#aichat

nixpkgs package indexes · pkgs/by-name/ai/aichat/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S aichat

Arch Linux sync databases · aichat · 来源: geo.mirror.pkgbuild.com

Windows

Scoop已验证 · 92%
scoop install main/aichat

Scoop official bucket manifest trees · bucket/aichat.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id sigoden.AIChat -e

Windows Package Manager source index · sigoden.AIChat · 来源: cdn.winget.microsoft.com

概览

软件包摘要

All-in-one AI-Powered CLI Chat & Copilot

命令和别名

  • aichat

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

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

Credential-bearing paths to review before unattended agent runs.

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aichatcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.30.0
管理器更新时间2026-07-10
本地数据OK
上游当前
检测到的最新版本v0.30.0

https://github.com/sigoden/aichat

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:aichat
版本0.30.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/aichat
主页https://github.com/sigoden/aichat
仓库https://github.com/sigoden/aichat
上游文档https://github.com/sigoden/aichat#readme
许可证Apache-2.0 OR MIT
源码归档https://github.com/sigoden/aichat/archive/refs/tags/v0.30.0.tar.gz
最后更新2026-07-10T16:49:54-04:00
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameaichat
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

aichat

nix profile install nixpkgs#aichat
  • normalized package name match
  • 匹配方式:Aichat
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ai/aichat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

aichat 0.30.0-3

All-in-one AI CLI tool featuring Chat-REPL, Shell Assistant, RAG, AI tools & agents

https://github.com/sigoden/aichat

sudo pacman -S aichat
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Aichat
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: aichat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

aichat

sudo port install aichat
  • normalized package name match
  • 匹配方式:Aichat
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/aichat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/aichat

scoop install main/aichat
  • normalized package name match
  • 匹配方式:Aichat
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/aichat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

sigoden.AIChat

winget install --id sigoden.AIChat -e
  • normalized package name match
  • 匹配方式:Aichat
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: sigoden.AIChat from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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