Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, pacman, Nix, winget 安装 fabric

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install fabric

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install fabric

MacPorts ports tree · llm/fabric/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add fabric

Alpine Linux edge package indexes · fabric · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install fabric

Debian stable package indexes · fabric · 来源: deb.debian.org

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

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

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

nixpkgs package indexes · Fabric · 来源: raw.githubusercontent.com

Windows

Windows Package Manager已验证 · 92%
winget install --id FabricMC.FabricInstaller -e

Windows Package Manager source index · FabricMC.FabricInstaller · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Library and command-line tool for SSH

历史

项目历史与用法

Fabric is the Python `fab` tool and library for running commands over SSH, historically popular for deployment and remote administration.

项目历史

Fabric began as a Pythonic remote execution and deployment tool built around `fabfile` tasks. Its current website describes Fabric as a high-level Python library for executing shell commands remotely over SSH and returning useful Python objects.

The 1.x line became a common deployment-era tool for Python projects because it let teams write Python functions as remote tasks and invoke them with the `fab` command. Its legacy changelog shows the 1.0 series active in 2011, including task execution, parallel execution, host and role handling, file transfer, sudo, and other features associated with classic fabfiles.

Fabric 2.0, released in May 2018, was a major rewrite. The official upgrade guide calls modern Fabric a near-total reimplementation and reorganization: task execution and local command behavior moved toward Invoke, while SSH behavior was organized around explicit `Connection` and `Config` objects on top of Paramiko.

The modern 3.x line continues that architecture. The current changelog explicitly warns users that Fabric is largely a wrapper around Paramiko and Invoke, so capabilities may improve when those dependencies improve.

采用历史

Fabric's adoption was strongest when Python teams wanted deployment automation without a full configuration-management system. A `fab deploy` command in a repository could run shell commands, copy files, restart services, or coordinate multiple hosts using ordinary Python.

The long-lived 1.x line created a migration challenge of its own. The project kept legacy documentation and eventually merged the `fabric3` fork back into the v1 branch in 2022 so users could port old Fabric 1 code to Python 3 before deciding whether to move to Fabric 2+.

Modern Fabric has a different adoption profile: it is less magic global state and more explicit SSH library plus task runner integration. The official upgrade docs even suggest that users who only used Fabric 1 for local tasks can sidegrade to Invoke instead.

使用方式

In modern Fabric, users create `Connection` objects and call methods like `run`, or define tasks that can be invoked by the `fab` CLI. The docs show single-host commands, serial or grouped multi-host commands, Python functions targeted at connections, file transfer, and integration with Invoke's task model.

In legacy usage, users wrote fabfiles and called named tasks from the shell. In modern usage, the same broad goal remains, but configuration, SSH auth, gateways, command execution, and task composition are more explicit and object-oriented.

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

Fabric is package-nerd significant because `brew install fabric` installs a Python deployment classic whose command name, `fab`, was once shorthand for lightweight SSH automation. It represents the era before containers and orchestrators absorbed much deployment scripting.

It is also a naming-collision case study. The Homebrew `fabric` formula is the Python SSH tool, while `fabric-ai` and `fabric-installer` are unrelated packages that happen to share the same display name in different ecosystems.

时间线

  • 2009: The Fabric GitHub repository is created.
  • 2011: Fabric 1.0.x releases document the mature classic fabfile era.
  • 2018: Fabric 2.0.0 ships as a rewrite.
  • 2022: Fabric 1.15.0 merges the fabric3 fork back into the v1 branch for Python 3 migration.
  • 2023: Fabric 3.0.0 drops Python versions older than 3.6 and continues the modern architecture.
  • 2026: Fabric 3.2.3 updates packaging metadata for Invoke compatibility.

Related projects

  • Paramiko provides Fabric's SSH protocol layer.
  • Invoke provides subprocess execution and command-line task features used by modern Fabric.
  • Patchwork and Invocations are optional companion libraries mentioned by the official docs.

安全态势

尚未找到受保护工具覆盖

没有找到 fabric 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本3.2.3
管理器更新时间2026-05-11
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.fabfile.org/

安装元数据

软件包元数据

软件包键brew:fabric
版本3.2.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/fabric
主页https://www.fabfile.org/
仓库https://github.com/fabric/fabric
上游文档https://docs.fabfile.org/
许可证BSD-2-Clause
源码归档https://files.pythonhosted.org/packages/e3/7e/29cd6237c3b7ce79c3ca945eb99ab5affd101db54b2f7a78dde0cfa19fd4/fabric-3.2.3.tar.gz
最后更新2026-05-11T11:37:38Z
Pulseupdated
依赖cryptography, libsodium, python@3.14
构建依赖pkgconf, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

fabric 2.6.0-4

Simple Pythonic remote deployment tool

https://fabfile.org/

sudo apt install fabric
  • Section: net
  • Architecture: all
  • 3 依赖
  • normalized package name match
  • 匹配方式:Fabric
Debian stable package indexes · deb.debian.org · Debian stable package indexes: fabric from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-fabric 2.6.0-4

Simple Pythonic remote deployment tool - standalone module

https://fabfile.org/

sudo apt install python3-fabric
  • Section: net
  • Architecture: all
  • Source Package: fabric
  • 5 依赖
  • normalized package name match
  • 匹配方式:Fabric
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-fabric from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

Fabric

nix profile install nixpkgs#Fabric
  • normalized package name match
  • 匹配方式:Fabric
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: Fabric from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

fabric 2.6.0-1

Simple Pythonic remote deployment tool

https://fabfile.org/

sudo apt install fabric
  • Section: universe/python
  • Architecture: all
  • 4 依赖
  • normalized package name match
  • 匹配方式:Fabric
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: fabric from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-fabric 2.6.0-1

Simple Pythonic remote deployment tool - standalone module

https://fabfile.org/

sudo apt install python3-fabric
  • Section: universe/net
  • Architecture: all
  • Source Package: fabric
  • 4 依赖
  • normalized package name match
  • 匹配方式:Fabric
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-fabric from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

fabric 3.2.2-r2

simple pythonic remote deployment tool

https://www.fabfile.org/

sudo apk add fabric
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: fabric
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Fabric
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fabric from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

fabric-pyc 3.2.2-r2

Precompiled Python bytecode for fabric

https://www.fabfile.org/

sudo apk add fabric-pyc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: fabric
  • 1 依赖
  • normalized package name match
  • 匹配方式:Fabric
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fabric-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

fabric 3.2.3-1

Python library and command-line tool designed to streamline deploying applications or performing system administration tasks via the SSH protocol

https://www.fabfile.org/

sudo pacman -S fabric
  • License: BSD-2-Clause
  • Architecture: any
  • 5 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Fabric
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: fabric from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

fabric

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

FabricMC.FabricInstaller

winget install --id FabricMC.FabricInstaller -e
  • normalized package name match
  • 匹配方式:Fabric
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: FabricMC.FabricInstaller from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

danielmiessler.Fabric

winget install --id danielmiessler.Fabric -e
  • normalized package name match
  • 匹配方式:Fabric
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: danielmiessler.Fabric 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment