Installation¶
SpecSync is distributed on PyPI and supports modern Python packaging workflows. Choose the approach that fits your environment.
Prerequisites¶
Python 3.11 or newer
Git (recommended for managing specs alongside your repository)
A method to set environment variables (e.g., direnv, shell exports, or .envrc file)
Install with pipx¶
pipx isolates the CLI in its own environment so it stays available system-wide.
pipx install specsync
Upgrade when a new release becomes available:
pipx upgrade specsync
Install with uv¶
uv provides fast installs and tooling.
uv tool install specsync
To upgrade an existing install:
uv tool upgrade specsync
Install from Source¶
Clone the repository and install from the local checkout.
git clone https://github.com/username/specsync.git
cd specsync
uv sync # Installs package in development mode with all dependencies
Development Setup¶
For contributing to SpecSync:
Clone the repository
Install dependencies with
uv sync(automatically includes dev dependencies)Use
just checkbefore submitting changes to run formatting and testsRun
just docs-serveto preview documentation locally
Tip
See Configuration for details on setting environment variables required to point SpecSync at your workspace.