Installation Guide
Prerequisites
| Tool | Version | Required | Purpose |
|---|---|---|---|
| Python | 3.11+ | Yes | Runtime for the CLI |
| uv | Latest | Yes | Python package manager |
| Git | 2.x+ | Yes | Version control |
| Claude Code | Latest | Recommended | Default AI assistant |
TIP
Other AI agents are also supported. See the full list.
Install the CLI
Persistent Installation (Recommended)
Install once and use everywhere:
bash
uv tool install maistik-specify-cli --from git+ssh://git@gitlab.com/maistik-studio/tools/spec-kit.gitThis adds specify to your PATH. Verify with:
bash
specify checkOne-Time Usage
Run without installing:
bash
uvx --from git+ssh://git@gitlab.com/maistik-studio/tools/spec-kit.git specify init my-project --ai claudeSelf-Hosted GitLab
For private GitLab instances, set environment variables before installing:
bash
export GL_TOKEN=glpat-xxxxxxxxxxxx
export SPECKIT_GITLAB_HOST=gitlab.mycompany.com
export SPECKIT_GITLAB_PROJECT_ID=group%2Fspec-kit
uv tool install maistik-specify-cli --from git+https://gitlab.mycompany.com/group/spec-kit.gitInitialize a Project
New Project
bash
specify init my-project --ai claudeExisting Project
bash
cd my-project
specify init . --ai claude
# or
specify init --here --ai claudeUse --force to skip confirmation in non-empty directories:
bash
specify init . --force --ai claudeScript Type
Scripts auto-detect your OS. Force a specific variant:
bash
# Bash/Zsh (default on macOS/Linux)
specify init my-project --ai claude --script sh
# PowerShell (default on Windows)
specify init my-project --ai claude --script psSkip Agent Checks
If you want templates without validating AI tool installation:
bash
specify init my-project --ai claude --ignore-agent-toolsVerification
After initialization, verify commands are available in your AI agent:
bash
# For Claude Code
ls .claude/commands/
# For Gemini
ls .gemini/commands/
# For Cursor
ls .cursor/commands/You should see files like speckit.specify.md, speckit.plan.md, etc.
Troubleshooting
Git Credential Manager on Linux
If you have Git authentication issues on Linux:
bash
wget https://github.com/git-ecosystem/git-credential-manager/releases/download/v2.6.1/gcm-linux_amd64.2.6.1.deb
sudo dpkg -i gcm-linux_amd64.2.6.1.deb
git config --global credential.helper manager
rm gcm-linux_amd64.2.6.1.debTLS Issues on Corporate Networks
bash
specify init my-project --ai claude --skip-tlsWARNING
Only use --skip-tls for troubleshooting. Do not use in production.
Module Not Found
If you get ModuleNotFoundError:
bash
uv pip install -e .Commands Not Showing in Agent
- Restart your IDE completely (not just reload)
- Check command files exist in the agent's directory
- Ensure you're in the correct project directory