How to set up GitHub Spec Kit (Windows, macOS and Linux)
Checked against the official docs:
[Spec Kit](/plugins/spec-kit/) is GitHub's open-source toolkit for spec-driven development: you write down what to build and why, then your coding agent turns that spec into a plan, a task list and working code, one reviewed step at a time. You install a small command-line tool called specify, run it once in your project, and it adds Spec Kit's steps to your agent as skills you run in chat. This tutorial covers the install on Windows, macOS and Linux, setting it up for Claude Code, Cursor, Codex or GitHub Copilot, your first feature, and the errors people hit most. It was checked against Spec Kit v1.4.5, the current release on 27 November 2026.
Get new guides by email
New MCP servers and agent tools, checked by hand. Free, unsubscribe anytime.
Paid prompt and rules packs are on the packs page.
Quick answer
- Install Python 3.11 or newer and uv.
- In a terminal, run
uv tool install specify-cli. - Create a project with
specify init my-project --integration claude(orcursor-agent,codex,copilot,gemini,opencodeand so on), thencd my-project. - Open your coding agent in that folder and run the Spec Kit steps in its chat:
/speckit-constitution,/speckit-specify,/speckit-plan,/speckit-tasks,/speckit-implement,/speckit-converge. Codex spells them with a$instead of/.
Free: MCP Starter Checklist
One page: Inspector smoke-test, Claude Code + Cursor connect steps, and the stdout gotcha. Join the list and download it free.
What you need
- Windows, macOS or Linux. Spec Kit's docs say Windows works without WSL, because its helper scripts come in a PowerShell version.
- Python 3.11 or newer (python.org).
- uv, the Python package manager Spec Kit uses to install its CLI. pipx also works.
- A supported coding agent, such as Claude Code, Cursor, Codex CLI, GitHub Copilot, Gemini CLI, opencode, Cline, Kilo Code or Goose. Install the agent first. Cursor and Copilot in your editor don't need a separate CLI.
- Git is optional. You only need it if you turn on Spec Kit's git extension for feature branches.
1. Install uv
Skip this if uv --version already prints a version. Otherwise use one of the installers from Spec Kit's uv page.
Windows
Run this in PowerShell or Command Prompt, then open a new terminal so uv is on your PATH:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"If you use WinGet or Scoop, winget install --id=astral-sh.uv -e or scoop install uv does the same job.
macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | shFollow any PATH instructions the installer prints, then open a new terminal. On a Mac, brew install uv also works. Check it with uv --version.
2. Install the Specify CLI
The CLI is published on PyPI as specify-cli. The same command works in PowerShell, Command Prompt and macOS or Linux terminals:
uv tool install specify-cliSpec Kit's installation guide recommends pinning a release tag from GitHub instead, so you know exactly which version you have. Keep the leading v in the tag:
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@v1.4.5Prefer pipx? Use pipx install specify-cli. Then check the install:
specify versionIf your terminal says specify isn't recognised, the folder uv installs tools into probably isn't on your PATH yet. uv's docs say uv tool update-shell adds it. Run that, close the terminal and open a new one.
3. Create a project for your agent
Run specify init with a project name and your agent's integration key. In an interactive terminal you can leave --integration off and pick from a list:
specify init my-project --integration claude
cd my-projectCommon integration keys and how each agent runs the Spec Kit steps:
- Claude Code:
claude. Skills go in.claude/skills/. Run them as/speckit-specifyand so on. - Cursor:
cursor-agent. Skills go in.cursor/skills/. Run them as/speckit-specifyin Cursor's chat. - Codex CLI:
codex. Skills go in.agents/skills/. Run them with a dollar sign:$speckit-specify. - GitHub Copilot:
copilot. Skills go in.github/skills/. Run them as/speckit-specify. - Others:
gemini,opencode,cline,kilocode,gooseand more.specify integration listshows them all, or see the integration list.
Some Spec Kit reference pages write the steps as /speckit.specify with a dot. Use whatever form your agent shows when you type / (or $ in Codex).
Windows: PowerShell scripts
Spec Kit ships its helper scripts in Bash, PowerShell and Python versions. On Windows it uses PowerShell by default and puts the scripts in .specify/scripts/powershell/, so you don't need WSL or Git Bash. To choose explicitly, add --script:
specify init my-project --integration claude --script psUse --script sh for Bash or --script py for Python.
Adding Spec Kit to an existing project
Commit or stash your work first, ideally on a new branch, then run this from the repository root:
specify init --here --force --integration claude--here uses the current folder. --force allows a folder that isn't empty and can replace Spec Kit's own files at the same paths, but it doesn't delete the rest of your code. Review the diff afterwards: it adds a .specify/ folder and your agent's skill files.
4. Build your first feature
Open your coding agent in the project folder. Run these in the agent's chat, not your terminal, one at a time, and read each result before moving on:
/speckit-constitution Create principles focused on code quality, testing, and maintainability.
/speckit-specify Build a photo organizer with albums grouped by date and a tile preview of each album.
/speckit-plan Use Vite with vanilla JavaScript. Keep images local and store metadata in SQLite.
/speckit-tasks
/speckit-implement
/speckit-converge- constitution: your project's ground rules. Run it once per project. Every later step is checked against it.
- specify: describe what to build and why. Leave the tech stack out of this one.
- plan: now give the tech stack and architecture.
- tasks: breaks the plan into a task list.
- implement: works through the tasks.
- converge: checks the code against the spec, plan and tasks, and adds any remaining work. Repeat implement and converge until it reports
Converged.
The specs, plans and task lists are saved in a specs/ folder in your project, so you can review and edit them like any other file.
Optional quality checks
For bigger features, Spec Kit's quickstart adds three steps: /speckit-clarify after specify (it asks about anything vague and updates the spec), /speckit-checklist after plan, and /speckit-analyze after tasks (it checks the spec, plan and tasks agree with each other).
Fix a bug or assess an idea
Bug fixing and idea assessment are bundled extensions you add when you need them. You don't have to run the feature flow first. Add the bug extension from the project folder in your terminal:
specify extension add bugThen, in your agent's chat:
/speckit-bug-assess "Submitting an empty password crashes the login form." slug=login-crash
/speckit-bug-fix slug=login-crash
/speckit-bug-test slug=login-crashThe reports land in .specify/bugs/login-crash/. Only a final verdict of verified means the fix worked; partial and failed mean it didn't. For deciding whether an idea is worth building, specify extension add assess adds steps that end in a go, needs-clarification or kill decision.
You can find more extensions with specify extension search. Spec Kit says its catalog listings aren't audits or endorsements, so read a community extension's code before you install it.
Upgrade Spec Kit
specify self check tells you if a newer release exists without changing anything. specify self upgrade upgrades a uv or pipx install in place.
On Windows, uv can't replace the copy of specify that's running, so for uv installs specify self upgrade prints the command to run once it exits. Close anything else running from Spec Kit first, then run the printed command. The manual equivalent for a PyPI install is:
uv tool install --force specify-cliWithout --force, uv tool install keeps the version you already have. To refresh the Spec Kit files inside a project after upgrading, use specify integration upgrade <key>, for example specify integration upgrade claude.
Common errors and fixes
"No such option: --integration"
Your CLI is very old. Spec Kit's docs give 0.1.6 as an example. Upgrade with uv tool install --force specify-cli (or pipx install --force specify-cli if you used pipx), then check with specify version. Use the same tool you installed with, or you can end up with two copies and the old one first on your PATH.
"specify" is not recognised or command not found
Run uv tool update-shell, then open a new terminal. If uv itself isn't found, install it first (step 1) and open a new terminal.
The Spec Kit commands don't show up in my agent
- Make sure you started the agent in the project folder you ran
specify initin. - Restart your editor or agent completely, not just a window reload.
- Check the skill files exist, for example in
.claude/skills/for Claude Code or.cursor/skills/for Cursor. - In Codex, type
$rather than/.
The agent runs on another machine
specify init checks that your agent's program is installed. If the agent runs somewhere else, add --ignore-agent-tools to skip that check.
"Current directory is not empty"
You ran specify init --here in a folder with files. Spec Kit merges its files in and only replaces its own (agent skill files, .specify/scripts/ and .specify/templates/). Your specs/ folder, source code and git history are left alone, and an existing constitution is kept. Type y to continue, or commit first and use --force.
FAQ
Is Spec Kit free?
Yes. It's open source under the MIT license. You still need access to whichever coding agent you use with it.
Do I need WSL on Windows?
No. Spec Kit uses its PowerShell scripts on Windows by default.
Does Spec Kit need Git?
No. Spec Kit tracks the current feature in .specify/feature.json, not your git branch. Add specify extension add git if you want numbered feature branches.
Can a team use different agents on the same project?
Yes. Spec Kit's docs suggest starting the project with --integration none, having each person run specify integration switch <key> in their own checkout, and switching back to none before committing.
Sources
Commands and config above come from these official docs. Tools change often, so check them for the latest steps.
- github/spec-kit README (requirements, install, processes)
- Spec Kit docs: Installation (pinned installs, --script, --here, verification)
- Spec Kit docs: Installing uv (Windows, macOS, Linux)
- Spec Kit docs: Integrations (keys for each agent)
- Spec Kit docs: Command invocation (/ vs $ per agent)
- Spec Kit docs: SDD quickstart
- Spec Kit docs: Existing projects
- Spec Kit docs: Upgrade and troubleshooting
- Spec Kit releases (v1.4.5, 25 November 2026)
- uv docs: Using tools (uv tool update-shell)
PluginStack is independent and not affiliated with or endorsed by the companies mentioned. Spotted something out of date? Email pluginstackai@gmail.com.
Related guides
Tools in this guide
- Rules & Prompts · GitHub
Spec Kit
GitHub's open-source toolkit for spec-driven development: you write down what to build and why, then have your coding agent turn that spec into a plan, a task list and working code, one reviewed step at a time. The Specify CLI (specify) sets up a project with the commands for your agent, and extensions add other workflows such as bug fixing (assess, fix, test). It works with GitHub Copilot, Claude Code, Cursor, Codex, Gemini CLI, OpenCode, Cline, Kilo Code, Goose and others. MIT licensed.
- Coding Agents · Anthropic
Claude Code
Anthropic's agentic coding tool. It reads your codebase, edits files, runs commands, works with git and connects to MCP servers. It runs in the terminal, with VS Code/JetBrains extensions, a desktop app and a web version too.
- Coding Agents · OpenAI
Codex CLI
OpenAI's open-source coding agent that runs locally in your terminal. It reads and edits your code, runs commands and connects to MCP servers. Codex also comes as an IDE extension (VS Code, Cursor, Windsurf), a desktop app and a cloud version. Apache-2.0.
- Coding Agents · Anomaly
OpenCode
An open-source AI coding agent with a terminal UI, a desktop app for macOS, Windows and Linux, and a web interface. It works with many LLM providers, and OpenCode also sells its own model access (OpenCode Console and the OpenCode Go plan). It ships a build agent that makes changes and a plan agent that plans without editing your project files. The current version is OpenCode 2. The code is on GitHub at anomalyco/opencode. MIT licensed.
Get new guides by email
New MCP servers and agent tools, checked by hand. Free, unsubscribe anytime.
Paid prompt and rules packs are on the packs page.