macOS
brew install fabriclocal Homebrew formula metadata
sudo port install fabricMacPorts ports tree · llm/fabric/Portfile · 来源: api.github.com
安装
brew install fabriclocal Homebrew formula metadata
sudo port install fabricMacPorts ports tree · llm/fabric/Portfile · 来源: api.github.com
sudo apk add fabricAlpine Linux edge package indexes · fabric · 来源: dl-cdn.alpinelinux.org
sudo apt install fabricDebian stable package indexes · fabric · 来源: deb.debian.org
sudo pacman -S fabricArch Linux sync databases · fabric · 来源: geo.mirror.pkgbuild.com
nix profile install nixpkgs#Fabricnixpkgs package indexes · Fabric · 来源: raw.githubusercontent.com
winget install --id FabricMC.FabricInstaller -eWindows 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.
安全态势
没有找到 fabric 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fab | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | cryptography, libsodium, python@3.14 |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | fabric |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
fabric 2.6.0-4
Simple Pythonic remote deployment tool
sudo apt install fabricpython3-fabric 2.6.0-4
Simple Pythonic remote deployment tool - standalone module
sudo apt install python3-fabricFabric
nix profile install nixpkgs#Fabricfabric 2.6.0-1
Simple Pythonic remote deployment tool
sudo apt install fabricpython3-fabric 2.6.0-1
Simple Pythonic remote deployment tool - standalone module
sudo apt install python3-fabricfabric 3.2.2-r2
simple pythonic remote deployment tool
sudo apk add fabricfabric-pyc 3.2.2-r2
Precompiled Python bytecode for fabric
sudo apk add fabric-pycfabric 3.2.3-1
Python library and command-line tool designed to streamline deploying applications or performing system administration tasks via the SSH protocol
sudo pacman -S fabricfabric
sudo port install fabricFabricMC.FabricInstaller
winget install --id FabricMC.FabricInstaller -edanielmiessler.Fabric
winget install --id danielmiessler.Fabric -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.