Skip to content
wp2next, home

Step 2 of 7: Install wp2next

Time

about 30–60 min

Cost

free

You need

the AI tool from step 1, and a : the Terminal app on a Mac, Windows Terminal on Windows

Not done yet. Tick it at the end of the page.

Your needs a few free programs on your computer to build a website, and then wp2next itself. Nothing here touches your WordPress site or creates any account.

Commands are shown for Claude desktop, for every computer until you pick yours.

Your AI tool

Commands are shown for Claude desktop, the recommended tool. Pick another if you use a different one; this browser remembers.

Your computer

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

Do this

Even if you use the , these installs happen once in a terminal window. Paste the commands one block at a time and wait for each to finish. The steps differ between Mac and Windows; follow the one for your computer.

  1. Install the basic tools.

a. Apple's command line tools. They include Git and Python 3. Open the Terminal app (Cmd+Space, type "Terminal", press Return) and paste this. A window pops up; click Install. The download can take up to 30 minutes. If it says the tools are already installed, that's fine; go on.

Terminal
xcode-select --install

b. Homebrew, the usual Mac installer for tools like these. Skip this if brew --version already prints a version. (Source: brew.sh⁠ (external site).)

Terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

It asks for your Mac login password. Nothing shows as you type; type it and press Return. When it says "Press RETURN", press Return.

When it finishes, it prints Next steps: lines you must run so your terminal can find brew. On a Mac with Apple silicon (M1 or later) they are usually these three. If Homebrew prints different lines, copy the ones it prints instead.

Terminal
echo >> ~/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

Check with brew --version. If it says "command not found", you missed these lines: run them, then go on.

c. Node.js 24, with fnm. Node.js runs the website code. fnm is a small helper that keeps the right Node.js version in place for each project. Use version 24 exactly: the newer "LTS" (26) is not what wp2next projects use.

Terminal
brew install fnm
echo 'eval "$(fnm env --use-on-cd --shell zsh)"' >> ~/.zshrc
source ~/.zshrc
fnm install 24
fnm default 24

d. pnpm 11.10.0, the package installer every wp2next project uses. Use exactly this version.

Terminal
npm install -g pnpm@11.10.0
  1. Install Google Chrome from google.com, chrome⁠ (external site) if you don't have it. wp2next uses it to measure the speed and of your old and new site (Lighthouse).

  2. Close the terminal, open a new window, and check:

Terminal
node --version     # v24.x
pnpm --version     # 11.10.0
python3 --version
git --version

Using the Claude desktop app? Quit it completely and open it again, so it finds the tools you just installed. On a Mac: Claude → Quit Claude (Cmd+Q). On Windows, closing the window may leave it running; if it has an icon near the clock, quit it from there (check in the UI).

  1. Install wp2next into your AI tool. Pick your tool.
For Claude desktop

a. In the Claude app, open Customize in the sidebar, then Plugins.

b. Choose Add, then Add marketplace, type MTRCio/wp2next and confirm.

c. Find wp2next in that marketplace and install it.

d. Click Code, start a new session (see step 5), and type /wp2next: in the message box. The list should show /wp2next:init, /wp2next:migrate and the other commands. If it doesn't, type /reload-plugins and press Enter, then try again.

The labels may differ slightly in your version of the app (check in the UI). Plugins added under Customize are saved to your Claude account (checked 2026-12, Claude plugins⁠ (external site)).

If the commands still don't appear (whether these account plugins always load in the Code tab isn't confirmed yet, Not yet confirmed), use the terminal route once. It adds the plugin for the whole computer, and the desktop app reads it too (plugin docs⁠ (external site)). First remove wp2next from Customize → Plugins, so only one copy loads. Then:

Open the Terminal app (or, in the Code tab, start a session on any folder, for example Documents, and open the Terminal pane with Ctrl+`). Paste:

Terminal
curl -fsSL https://claude.ai/install.sh | bash
claude plugin marketplace add MTRCio/wp2next
claude plugin install wp2next@mtrc

If claude isn't found after the first line, close the terminal window (or pane), open a new one, and run the last two lines.

Then quit the Claude app completely, open it again, and start a new session in the Code tab.

Install it one way only. Two installs can load two different versions; wp2next warns you if it finds both. Other install routes (a clone, other AI tools) are in AI environments.

You'll know it worked when

  • The four checks in item 3 print v24…, 11.10.0 and a version for and Git.
  • Your AI tool lists wp2next:
For Claude desktop
Text
In a Code session, type /wp2next: and the list shows /wp2next:init, /wp2next:migrate and the other commands.

If something goes wrong

  • brew: command not found. Homebrew's "Next steps" lines weren't run. Run the three lines in 1b, then try again.
  • node: command not found after installing. Open a new Terminal window and try again. If it still fails, run the commands in 1c again, then brew doctor. (Using a Linux or older shell setup? See Troubleshooting → Setup.)
  • You see "permission denied" when installing pnpm. Node.js was installed some other way earlier. Run the fnm commands in 1c again, then retry. Don't put sudo in front.
  • Don't install Node.js with brew install node. It may give you the wrong version, and your terminal may not find it. Use fnm, as in 1c.
  • The Claude app or says /wp2next is unknown. The plugin puts every command under its name: type /wp2next: and pick from the list.
  • wp2next doesn't show in Cursor. Check that it's installed:
Terminal
ls ~/.cursor/skills/wp2next/SKILL.md ~/.agents/skills/wp2next/SKILL.md

If one of the two lines prints a path (Mac) or True (Windows), wp2next is installed. Quit Cursor completely and open it again. If neither does, run the install command in item 4 again.

This page is docs/start/2-install-wp2next.md in the wp2next repository. Read or edit it on GitHub⁠ (external site)