Installation¶
Prerequisites¶
- Python 3.11 or newer. GitIntel declares
requires-python = ">=3.11"and is tested on 3.11 through 3.14 in CI. - A C toolchain — only if no
pygit2wheel exists for your platform. On mainstream Linux/macOS/Windows targetspygit2ships binary wheels and no compiler is needed. On other platforms,pipbuilds it from source and requires libgit2's build dependencies. - Git itself is not required. Repository access goes through libgit2 via
pygit2.
Check your interpreter first:
Install the CLI¶
pipx installs the CLI into its own isolated environment and puts
gitintel on your PATH:
Upgrade later with:
Prefer a virtual environment so GitIntel's dependencies do not mix with your project's:
Or run it once without installing anything permanently:
For a full development environment (tests, linter, build tooling) see Development setup.
Verify the installation¶
Both of the following are equivalent and print the same value:
gitit is an alias entry point registered by the package; every command and option documented
here works identically under either name.
If the shell reports command not found, see
Troubleshooting → gitintel: command not found.
Run without installing¶
GitIntel is also runnable as a module, which is convenient inside a checkout or a CI job that installed it into a virtual environment:
Shell completion¶
Typer provides completion for Bash, Zsh, Fish, and PowerShell:
Restart your shell afterwards. To inspect the generated script instead of installing it, use
gitintel --show-completion.
Uninstall¶
GitIntel keeps one piece of state outside the installed package: the clone cache for remote repositories. Remove it if you want a completely clean system:
See Repository sources and cache for details.