# 使用 Homebrew, Nix, scoop 安装 fabric-ai

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

## 安装

```sh
sudo av install brew:fabric-ai
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fabric-ai
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fabric-ai
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/fabric-ai
```

  证据: Scoop official bucket manifest trees: bucket/fabric-ai.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:fabric-ai
- **软件包管理器:** Homebrew
- **版本:** 1.4.468
- **来源摘要:** Open-source framework for augmenting humans using AI
- **主页:** <https://github.com/danielmiessler/fabric>
- **仓库:** <https://github.com/danielmiessler/fabric>
- **最后更新:** 2026-08-03T03:15:03Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fabric-ai (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.4.468
## 项目历史与用法

Fabric is Daniel Miessler's open-source framework for organizing reusable AI prompts, called patterns, and running them from a CLI or related interfaces.

### 项目历史

Fabric was created after the late-2022 surge in modern AI tools. Its README argues that AI had an integration problem rather than a capabilities problem, and presents Fabric as a way to organize prompts by real-world task so they can be reused across workflows.

The project started publicly in early 2024 and grew rapidly around the idea that prompt collections could be packaged like command-line tools. The README describes Fabric as both a pattern library and, for command-line-focused users, an interface for running those patterns directly.

The current project is implemented and distributed as a fast-moving CLI with release binaries, shell completions, a REST API server, provider integrations, and package-manager installs. Its README notes that Homebrew and Arch Linux package the executable as `fabric-ai`, with an alias suggested for users who want to type `fabric`.

### 采用历史

Fabric's adoption followed the broader CLI-and-LLM trend: users wanted prompt workflows they could pipe text into, version in Git, and invoke from shells instead of only using web chat interfaces. The README points to intro videos and a large set of patterns for summarization, paper analysis, code explanation, social posts, and other repeatable tasks.

The project has kept widening provider support. The README update log lists additions for OpenAI Codex, Azure AI Gateway, Microsoft 365 Copilot, DigitalOcean GenAI, GitHub Models, Venice AI, Z AI, Abacus, Anthropic model updates, internationalization, Windows ARM and Linux ARM binaries, and Swagger API docs.

### 使用方式

The core usage model is to select a pattern and feed it content. Users can run Fabric from the CLI, install or update patterns, create custom patterns, map patterns to models, add shell aliases, or run its REST API server for local integrations.

Because Fabric treats prompts as named assets, it behaves like a package of workflows rather than a single chatbot. That makes it useful for people who want repeatable LLM operations in shell pipelines, note-taking systems, coding workflows, or personal knowledge processes.

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

Fabric is package-nerd significant because it turns prompts into installable, inspectable command-line artifacts. It is part of the 2024-2026 wave of LLM tooling where package managers distribute not only compilers and CLIs, but also opinionated prompt workflows.

The `fabric-ai` Homebrew naming detail is also notable: it avoids colliding with the older Python `fabric` package while preserving the upstream tool's identity through a recommended alias.

### 时间线

- 2024: The Fabric repository is created.
- 2025: Releases add new binary targets, provider integrations, internationalization, and REST API documentation.
- 2026: README update log lists Microsoft 365 Copilot, Azure AI Gateway, OpenAI Codex backend, and Anthropic model support updates.

### Related projects

- Fabric integrates with LLM providers and backends such as OpenAI, Anthropic, Azure OpenAI, Google Vertex AI, AWS Bedrock, Ollama, GitHub Models, and others.
- The Homebrew package is named `fabric-ai` to distinguish it from Python Fabric.

### 来源

- <https://api.github.com/repos/danielmiessler/fabric>
- <https://github.com/danielmiessler/fabric>
- <https://github.com/danielmiessler/fabric/blob/main/README.md>
- <https://github.com/danielmiessler/fabric/releases>
- <https://github.com/danielmiessler/fabric/tree/main/docs>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- 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/fabric/config.yaml

## Credential files

- Unix: ~/.config/fabric/.env
## 其他软件包管理器记录

- Nix - fabric-ai: normalized package name match | nixpkgs package indexes: pkgs/by-name/fa/fabric-ai/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/fabric-ai: normalized package name match | Scoop official bucket manifest trees: bucket/fabric-ai.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
