Ad space · Your tool here
PluginStack
Tutorial

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.

The newsletter hasn't started sending yet. Join the list now and we'll email you when the first issue goes out. From PluginStack (pluginstackai@gmail.com). Privacy policy.

Paid prompt and rules packs are on the packs page.

Quick answer

  1. Install Python 3.11 or newer and uv.
  2. In a terminal, run uv tool install specify-cli.
  3. Create a project with specify init my-project --integration claude (or cursor-agent, codex, copilot, gemini, opencode and so on), then cd my-project.
  4. 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.

Markdown download + occasional PluginStack updates. No spam. Privacy policy.

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:

Windows
powershell
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

macOS / Linux
bash
curl -LsSf https://astral.sh/uv/install.sh | sh

Follow 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:

bash
uv tool install specify-cli

Spec 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:

bash
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@v1.4.5

Prefer pipx? Use pipx install specify-cli. Then check the install:

bash
specify version

If 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:

bash
specify init my-project --integration claude
cd my-project

Common integration keys and how each agent runs the Spec Kit steps:

  • Claude Code: claude. Skills go in .claude/skills/. Run them as /speckit-specify and so on.
  • Cursor: cursor-agent. Skills go in .cursor/skills/. Run them as /speckit-specify in 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, goose and more. specify integration list shows 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:

Windows
powershell
specify init my-project --integration claude --script ps

Use --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:

bash
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:

In your agent's chat (Codex: use $ instead of /)
text
/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:

bash
specify extension add bug

Then, in your agent's chat:

text
/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-crash

The 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:

bash
uv tool install --force specify-cli

Without --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 init in.
  • 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.

PluginStack is independent and not affiliated with or endorsed by the companies mentioned. Spotted something out of date? Email pluginstackai@gmail.com.

Get new guides by email

New MCP servers and agent tools, checked by hand. Free, unsubscribe anytime.

The newsletter hasn't started sending yet. Join the list now and we'll email you when the first issue goes out. From PluginStack (pluginstackai@gmail.com). Privacy policy.

Paid prompt and rules packs are on the packs page.