Skip to content

Setting up a hacking Environment

This page will walk you through setting up your development environment for Fabric.

To start developing, you should grab the latest commit of Fabric so that you’re up-to-date.

To do this, run this command:

Terminal window
git clone https://github.com/Fabric-Development/fabric

Create a Python virtual environment:

Terminal window
python -m venv venv

Source your new virtual environment:

Terminal window
source venv/bin/activate

We now have a separate environment for packages.

Finally, install the current Fabric source in place as a package:

Terminal window
pip install -r requirements.txt
pip install -e .

And you’re ready! Continue on this page to start hacking.