Install Maigret on Windows Without Internet

Offline environments (lab networks, air-gapped hosts) require staged installation.

Prepare on an online workstation

mkdir C:\maigret-wheelhouse
pip download maigret -d C:\maigret-wheelhouse

Include optional extras:

pip download "maigret[tor]" -d C:\maigret-wheelhouse

Zip the folder and transfer it via approved media.

Install offline

Expand-Archive .\maigret-wheelhouse.zip C:\maigret-wheelhouse
python -m venv C:\maigret
C:\maigret\Scripts\Activate.ps1
pip install --no-index --find-links C:\maigret-wheelhouse maigret

Verify

maigret --version
maigret johndoe --top-sites 50 --html

Optional Tor bundle

  • Install the Tor Expert Bundle offline by copying the ZIP.
  • Configure torrc to run a local SOCKS proxy for Maigret usage.

Diagram

  flowchart LR
    A[Online workstation] --> B[pip download wheelhouse]
    B --> C[USB drive]
    C --> D[Air-gapped Windows host]
    D --> E[pip --no-index install]

Keep the wheelhouse updated after every Maigret release to patch dependencies promptly.