scripts/installer/README.md
This directory contains the official one-line installer scripts for Fabric.
Install Fabric with a single command:
curl -fsSL https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.sh | bash
Install Fabric with a single PowerShell command:
iwr -useb https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.ps1 | iex
By default, Fabric is installed to ~/.local/bin. To install elsewhere:
curl -fsSL https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.sh | INSTALL_DIR=/usr/local/bin bash
For system-wide installation (requires sudo):
curl -fsSL https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.sh | sudo INSTALL_DIR=/usr/local/bin bash
By default, Fabric is installed to %USERPROFILE%\.local\bin. To install elsewhere:
$env:INSTALL_DIR="C:\tools"; iwr -useb https://raw.githubusercontent.com/danielmiessler/fabric/main/scripts/installer/install.ps1 | iex
fabric binary (not the full archive)~/.local/bin)curl or wget for downloadingtar for extraction (standard on all Unix systems)fabric --setupfabric --help or fabric --listpatternsPermission denied?
sudo for system directoriesINSTALL_DIR=~/binBinary not found after install?
Download fails?
If the one-liner doesn't work for you, see the main Installation Guide for: