> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specpilot.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Upgrading

> Update SpecPilot, then bring each project's commands and instruction files up to date.

**1. Check your Node.js**

Since 2.21.0, SpecPilot needs Node.js 22.23.5 or later in 22.x, 24.22.3 or later in 24.x, or 26.13.1 or later. On another version npm warns (`EBADENGINE`) but installs anyway, and SpecPilot then warns on every command.

**2. Update SpecPilot**

If you run it with `npx specpilot serve`, there's nothing to do: npx gets the latest version. If you installed it, run `npm i -g specpilot@latest`, then `specpilot --version` to check.

**3. Restart the App**

Stop it with Quit SpecPilot… in Settings, Ctrl+C or `specpilot serve --stop`, and start it again. The MCP token changes unless you [keep the token](https://docs.specpilot.dev/mcp/on-off.md#keep-the-token), so copy your IDE config again.

**4. Update each project's commands**

New releases can change the `specpilot-*` commands and the project skill. Click Regenerate All in the App (see [Regenerate commands and skills](https://docs.specpilot.dev/app/regenerate.md)), or run `specpilot backfill` in the project. Files you edited are kept. Backfill also adds rule sections your instruction files are missing, and `specpilot backfill --dry-run` shows what would change first.

**5. Run specpilot validate**

A new release can add checks. For example, 2.21.0 lowered the Completed limit to 25 lines, so a longer section now gets a warning. Run `/specpilot-archive` or `specpilot archive` to fix it.

## What changed

Each release is in the [Changelog](https://docs.specpilot.dev/help/changelog.md). Breaking changes are marked.

## Very old projects

A project with a `.project-spec/` folder instead of `.specs/` comes from an early SpecPilot. Convert it once with `specpilot migrate --backup`. You don't need `migrate` for anything else.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.