Installation
You can install Docsible in two main ways:
via pip
for a stable release, or from GitHub if you want the latest development version.
Always install Docsible inside a virtual environment to avoid polluting your global Python packages.
β Recommended: Install from PyPI
This is the easiest and most stable method.
python3 -m venv venv
source venv/bin/activate
pip install docsible
To verify:
docsible --version
π οΈ Install from GitHub (Development Version)
If you want the latest features or plan to contribute:
git clone https://github.com/docsible/docsible.git
cd docsible
python3 -m venv venv
source venv/bin/activate
pip install -e .
To run the CLI after setup:
docsible --help
This installs the package in editable mode (-e
), allowing you to make changes to the source and immediately test them.
π§ͺ Run from source without installing
If you just want to test the CLI without installing it system-wide:
git clone https://github.com/docsible/docsible.git
cd docsible
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python -m docsible --help
βοΈ Requirements
Docsible requires:
- Python 3.7+
- pip (preferably upgraded:
pip install --upgrade pip
) - Dependencies listed in
requirements.txt
Troubleshooting
-
β Command not found?
Make sure your virtual environment is activated and thatdocsible
is in your$PATH
. -
β Permission denied?
Never install withsudo pip install
. Use a virtual environment instead.
Once installed, youβre ready to generate clean, structured documentation from your Ansible roles or collections.