Skip to content

๐Ÿงฐ Installation Guide

Welcome to Gittxt โ€” your tool for extracting clean, structured, AI-ready data from Git repositories.

This guide will help you install Gittxt in two ways:

  • ๐Ÿ“Œ Using pip (recommended) for most users
  • ๐Ÿ Using Poetry for local development or contributions

Gittxt is published on PyPI.

pip install gittxt

After installation, you can run:

gittxt --help

๐Ÿงช Install for Local Development (Poetry)

This is the preferred method for contributors or developers making local changes.

Step 1: Clone the Repo

git clone https://github.com/sandy-sp/gittxt.git
cd gittxt

Step 2: Install Dependencies

poetry install

Step 3: Run Gittxt

poetry run gittxt scan .

You can also install the CLI globally into your environment:

poetry install --editable .


๐Ÿ›  Optional Setup: Interactive Configuration

To set up a default output directory, formats, filters, and logging options, run:

gittxt config install

This creates a gittxt-config.json file with your preferences.


๐Ÿงช Verify Installation

Run a basic scan to verify everything is working:

gittxt scan . --output-format txt --lite --log-level debug

You should see output directories created and summary info printed to your terminal.


๐Ÿ”ง Modular Installation Options (Poetry)

Gittxt is designed to be lightweight. You can install only what you need:

๐Ÿงฉ Core CLI Tool Only

This installs the base gittxt CLI without any plugin overhead:

poetry install

๐Ÿ”Œ With Plugins (API & Streamlit)

If you plan to use the FastAPI backend or Streamlit dashboard:

poetry install --with plugins

๐Ÿงช With Dev Tools (for contributors)

Install development dependencies (tests, linting, formatting):

poetry install --with dev

You can also combine them:

poetry install --with plugins,dev

๐Ÿ’ฌ Need Help?

If you face installation issues: - Open an issue at github.com/sandy-sp/gittxt/issues - Or ask a question in Discussions


Next: Quickstart โžก