Skip to content

Installation & Setup

Follow these steps to install the repotographer CLI and configure your environment.

1. Prerequisites

  1. Install and authenticate GitHub CLI (gh)

    repotographer invokes gh to retrieve public repository metadata from GitHub.

    Terminal window
    brew install gh
    gh auth login

    Verify authentication before running repotographer:

    Terminal window
    gh auth status
  2. Install Graphviz (Optional, for PNG rendering)

    repotographer renders static .png diagrams when the dot command is present on your PATH. When Graphviz is missing, the tool generates .dot and interactive .html files without halting.

    Terminal window
    brew install graphviz
  3. Configure Gemini or Vertex AI (Optional, for AI taxonomy)

    repotographer uses gemini-3.7-flash to organize repositories into high-level domain pillars.

    Obtain an API key from Google AI Studio and export it:

    Terminal window
    export GEMINI_API_KEY="your-gemini-api-key"

2. Install repotographer

Install directly with Go 1.23+ or clone the source repository:

Download the latest release archive for macOS (Apple Silicon or Intel), Linux, or Windows from the GitHub Releases page, unpack the binary, and move it to your $PATH.

Verify the binary is available:

Terminal window
repotographer version

Output:

repotographer v0.2.1