spec-kitty

Installation Guide

Spec Kitty is a community-maintained fork of GitHub’s Spec Kit. Installation commands below target the spec-kitty distribution while crediting the original project.

đź“– Looking for the complete workflow? See the README: Getting Started guide for the full lifecycle from CLI installation through feature development and merging.

Prerequisites

Installation

Spec Kitty works best with jujutsu (jj), which provides automatic rebasing and non-blocking conflicts for multi-agent workflows.

macOS (Homebrew):

brew install jj

Any platform (Cargo):

cargo install jj-cli

Verify installation:

jj --version
# Expected: jj 0.20.0 or higher

Note: jj is recommended but not required. Spec Kitty automatically detects jj and uses it when available, falling back to git otherwise.

See Jujutsu Workflow Tutorial for the complete jj workflow.

Install Spec Kitty CLI

Using pip:

pip install spec-kitty-cli

Using uv:

uv tool install spec-kitty-cli

From GitHub (Latest Development)

Using pip:

pip install git+https://github.com/Priivacy-ai/spec-kitty.git

Using uv:

uv tool install spec-kitty-cli --from git+https://github.com/Priivacy-ai/spec-kitty.git

Initialize a New Project

After installation, initialize a new project:

If installed globally:

spec-kitty init <PROJECT_NAME>

One-time usage (without installing):

Using pipx:

pipx run spec-kitty-cli init <PROJECT_NAME>

Using uvx:

uvx spec-kitty-cli init <PROJECT_NAME>

Add to Existing Project

To add Spec Kitty to an existing project, use the --here flag:

# Navigate to your existing project directory
cd /path/to/existing-project

# Initialize Spec Kitty in the current directory
spec-kitty init .
# or use the --here flag
spec-kitty init --here

When adding to an existing project:

Best Practices for Existing Projects:

  1. Backup first: Commit your current work to git before adding Spec Kitty
  2. Review .gitignore: Spec Kitty automatically protects agent directories in .gitignore
  3. Team alignment: Add Spec Kitty to a feature branch before merging to main if you’re in a team
  4. Follow the workflow: After init, run /spec-kitty.specify to begin your first feature

Choose AI Agent

You can proactively specify your AI agent during initialization:

spec-kitty init <project_name> --ai claude
spec-kitty init <project_name> --ai gemini
spec-kitty init <project_name> --ai copilot

Cross-Platform Python CLI (v0.10.0+)

As of v0.10.0, all automation uses cross-platform Python CLI commands (spec-kitty agent).

The legacy --script option is no longer needed - all commands work identically across Windows, macOS, and Linux.

Migration Note: Projects created before v0.10.0 had bash/PowerShell scripts. Run spec-kitty upgrade to migrate to Python CLI commands. See Upgrade to 0.11.0 for details.

Ignore Agent Tools Check

If you prefer to get the templates without checking for the right tools:

spec-kitty init <project_name> --ai claude --ignore-agent-tools

Verification

After initialization, you should see the following commands available in your AI agent:

When you run /spec-kitty.specify or /spec-kitty.plan, expect the assistant to pause with WAITING_FOR_DISCOVERY_INPUT or WAITING_FOR_PLANNING_INPUT until you answer its question tables.

Troubleshooting

Git Credential Manager on Linux

If you’re having issues with Git authentication on Linux, you can install Git Credential Manager:

#!/usr/bin/env bash
set -e
echo "Downloading Git Credential Manager v2.6.1..."
wget https://github.com/git-ecosystem/git-credential-manager/releases/download/v2.6.1/gcm-linux_amd64.2.6.1.deb
echo "Installing Git Credential Manager..."
sudo dpkg -i gcm-linux_amd64.2.6.1.deb
echo "Configuring Git to use GCM..."
git config --global credential.helper manager
echo "Cleaning up..."
rm gcm-linux_amd64.2.6.1.deb

Command Reference

See Also

Background