Skip to content
wp2next, home
Skip to the page

Updating wp2next and your sites

Your computer

Pick your computer's system. Steps that differ switch to it, and this browser remembers.

For people running migrations (freelancers, agencies, developers). Moving your own site? Start with Move my site.

There are two different updates:

  1. Updating the wp2next on your computer, so your assistant has the newest instructions. Command: wp2next update.
  2. Upgrading a site you already built with an older wp2next, so it gets the newer setup (for example Next.js 15 → 16). Command: wp2next upgrade, run inside that site's folder.

Do the first, then the second for each site you want to bring forward. A site doesn't have to be upgraded; it keeps working as it is.

This page also covers reading the changelog and uninstalling.

Which version do I have?

Ask your assistant wp2next changelog installed. It prints your version and what's in it.

Other ways:

  • Claude desktop app: Customize → Plugins shows wp2next if you added it there (check in the UI); /status in a shows the app's own Claude Code version, not wp2next's.
  • : claude plugin list shows wp2next@mtrc with its version.
  • Any install: the version: line near the top of the skill's SKILL.md.
  • A site's version: wp2next.version in that site's wp2next.json. Sites built with 1.x have no wp2next.json at all; wp2next upgrade creates one for you, marks it as version 1.0.0 and fills in the names the site already uses, so nothing gets renamed. (If wp2next status created the file first and it claims a newer version than the code really is, upgrade notices and asks.)

Update the skill

The easy way: ask your assistant wp2next update. It works out how you installed wp2next, checks the latest version, shows you what changed, asks, then runs the right update. Afterwards it checks your saved settings still fit the new version and tells you which of your sites could be upgraded.

By hand, depending on how you installed it:

Claude desktop app (Customize → Plugins)

If you added wp2next under Customize → Plugins, update or re-sync it there (check in the UI; the exact control isn't documented, Not yet confirmed). Synced plugins reach Code sessions the next time you start a session; /reload-plugins picks them up in an open one (plugins on claude.ai and Desktop⁠ (external site), checked 2026-12). If you installed it with the instead (route 2 in AI environments), follow the next section: the app uses the same plugin.

Claude Code plugin

Terminal
claude plugin marketplace update mtrc
claude plugin update wp2next@mtrc

Then type /reload-plugins in Claude Code (or in a Claude desktop Code session), or start a new session. Inside a session you can also use /plugin → Installed → wp2next → Update now.

Plugins from marketplaces other than Anthropic's don't update automatically unless you turn it on: /plugin → Marketplaces → mtrc → enable auto-update. Updates then arrive in the background within a few minutes of starting a session. (Claude Code plugin docs⁠ (external site), checked 2026-12)

The skills installer (npx skills add)

Terminal
npx skills check                      # lists skills with updates
npx skills update wp2next -g -y       # global install; use -p for a project install

The Claude desktop app, Claude Code, Codex and Cursor read the updated files in their next session; start a new session (or restart the assistant) if the change doesn't show. (skills installer⁠ (external site), checked 2026-12)

If you cloned the and linked skills/wp2next into your skills folder:

Terminal
git -C ~/.local/share/wp2next pull --ff-only     # use the folder you cloned into

If this fails, you changed files in the clone. Move your changes somewhere safe, or ask for help; don't force it.

Copied by hand

Copied folders don't update. Replace the folder. These commands remove your installed copy only after the new download has worked, so a failed download leaves your current version in place:

Terminal
rm -rf /tmp/wp2next-new
git clone https://github.com/MTRCio/wp2next.git /tmp/wp2next-new \
  && rm -rf ~/.claude/skills/wp2next \
  && cp -R /tmp/wp2next-new/skills/wp2next ~/.claude/skills/ \
  && if [ -d ~/.agents/skills/wp2next ]; then
       rm -rf ~/.agents/skills/wp2next && cp -R /tmp/wp2next-new/skills/wp2next ~/.agents/skills/
     fi \
  && rm -rf /tmp/wp2next-new

If the download fails, check your internet connection and run the commands again. The ~/.agents/skills copy is replaced only if you have one. wp2next update does this for you, after asking.

Codex's $skill-installer

It has no update command and stops if the folder already exists. Delete the installed wp2next folder and install it again, or switch to the skills installer above. (Codex skills docs⁠ (external site), checked 2026-12)

After any update

Your saved defaults live in ~/.config/wp2next/config.json (Windows: C:\Users\<you>\.config\wp2next\config.json). wp2next update checks them against the new version automatically. If you updated by hand, ask your assistant to run wp2next doctor.

What changed? The changelog

AskShows
wp2next changelog or wp2next changelog installedWhat's in your version
wp2next changelog latestThe newest published changelog
wp2next changelog 2.0.0One release
wp2next changelog since 2.0.0Everything after a version

Each release has a Migration notes part: settings that were renamed and scripts inside your sites that changed. wp2next upgrade reads those notes for you. The full file is skills/wp2next/CHANGELOG.md⁠ (external site).

Upgrade a site you already built

In the site's folder, ask your assistant wp2next upgrade.

What it does

  1. Shows a plan first. It reads the site's wp2next version and the changelog, then lists every change it will make. Nothing happens until you say yes.
  2. Works on a separate branch (wp2next/upgrade-<version>). Your live site doesn't change until you merge.
  3. Takes "before" pictures. It builds the site as it is now and records screenshots at phone and desktop widths, every page's status, title and description, and speed scores.
  4. Makes the changes. For the move to Next.js 16 that means the official Next.js upgrade tool, newer package versions, a new lint setup, a few settings, and newer copies of wp2next's helper scripts. For each helper script you edited, it shows the difference and asks what to keep.
  5. Takes "after" pictures and compares. In the pages must look the same as before, down to the half pixel. Every page must return the same status, title and description. Accessibility and search scores must not drop.
  6. Reports what changed, records the new version in wp2next.json, and offers to push the branch so Vercel builds a preview you can click through. You merge when you're happy.

A typical marketing site takes an hour or two. It can take longer if the comparison finds a difference to track down.

Other changes in 2.0.0 that upgrade offers

Each is its own question, and only asked if your site needs it:

  • Node 24 and . Sites built on pnpm 9 and Node 22 move to the current toolchain: packageManager becomes pnpm@11.10.0, .nvmrc holds 24, the root package.json and apps/web/package.json get "engines": {"node": ">=24 <25"} (Vercel builds on Node 24 because of it), and @types/node moves to 24. pnpm 11 only runs install scripts for packages listed under allowBuilds in pnpm-workspace.yaml, so upgrade adds the ones pnpm reports as blocked, each with a reason. It then regenerates pnpm-lock.yaml and checks that the site builds and still matches.
  • The moves from /dev/ to /components/. It is a private page for developers (never linked, hidden from search engines), so there's no redirect. It is now off on the live site and on in previews by default; the Vercel setting WP2NEXT_COMPONENTS_ROUTE (on or off) changes that, followed by a redeploy. It replaces the old ENABLE_DEV_ROUTE setting.
  • Forms can go to several places at once. The single "forms provider" becomes a list of destinations: an email through (recommended as the safety net), plus HubSpot, monday.com or a webhook. Your current setup keeps working; the upgrade moves it to the new list and suggests adding Resend if the only destination is a CRM. An old FORMS_PROVIDER setting in Vercel would override the new list, so the upgrade removes it (asking first). Older HubSpot setups move to a HubSpot service key. Setup guide: Forms, email and CRM.
  • A brand package and private (/brand/) can be added: your logo, colors and fonts in one file, a generated DESIGN.md, and a guide page that is off on the live site unless you switch it on (WP2NEXT_BRAND_ROUTE). Optional; it doesn't change how your pages look.

Before you start

  • or set aside any work in progress. The upgrade refuses to start with uncommitted changes.
  • The site should build cleanly as it is (wp2next upgrade checks).
  • Node.js 24 and pnpm 11.10.0 on your computer (node --version, pnpm --version; see Quick start). Node 24 is the toolchain baseline: upgraded sites pin it.
  • Have your unlocked: building the site needs its Sanity settings.

If something goes wrong

  • Before merging: delete the branch. Nothing on the live site changed.
  • After merging: Vercel can switch back to the previous version in a click ( → the older one → Instant Rollback). The assistant asks before doing it for you.

What the move to Next.js 16 changes for you

Mostly nothing you can see. Behind the scenes:

  • next build no longer runs the code checks, so the site runs pnpm lint separately (CI does too).
  • TypeScript stays on version 6, because version 7 doesn't work with Next.js's lint rules yet.
  • New tools work: Next.js's own skills and DevTools , which wp2next optimize can use (see Companion skills).
  • The newer caching model (Cache Components) stays off. It's an opt-in change for later.

Uninstall

Ask your assistant wp2next uninstall. It works out how wp2next was installed, lists exactly what it will remove, and asks before removing anything. It never touches your sites, and it leaves companion skills and alone unless you ask.

It also asks about your saved defaults in ~/.config/wp2next/, before it removes anything (the tools it uses to show them are part of the skill). That folder holds no passwords or keys, only your preferences. Keep it if you might reinstall.

By hand:

Installed withRemove with
Claude desktop app (Customize → Plugins)Remove it in Customize → Plugins (check in the UI)
Claude Code plugin (also used by the desktop app)claude plugin uninstall wp2next@mtrc, then optionally claude plugin marketplace remove mtrc
skills installernpx skills remove wp2next -g
Git clone with linksDelete the links (rm ~/.claude/skills/wp2next ~/.agents/skills/wp2next), then the clone folder
Copied by handrm -rf ~/.claude/skills/wp2next ~/.agents/skills/wp2next (whichever exist)
Saved defaults (optional)rm -rf ~/.config/wp2next

On Windows, use Remove-Item -Recurse -Force <folder> in for the folder commands (for example Remove-Item -Recurse -Force "$HOME\.config\wp2next"), or delete the folders in File Explorer. Restart your assistant afterwards.

Troubleshooting

  • "Already at the latest version" but the changelog shows a newer one. The plugin compares the version number in the release, not individual changes. Wait for the release, or update the marketplace first (claude plugin marketplace update mtrc).
  • npx skills says Node is too old. Switch to Node 24 (the toolchain baseline). See Troubleshooting.
  • Update check fails with a rate limit. Anonymous GitHub checks are limited per hour. Wait, or log in with gh auth login.
  • Cursor. Cursor has no documented update command for skills; use the skills installer. (Cursor's skills docs now to another site; checked 2026-12.)