Skip to content
wp2next, home

Step 5 of 7: Save your settings (init)

Time

about 20 min

Cost

free

You need

steps 1 to 4 done

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

init is a one-time setup conversation: your asks about 15 short questions and saves your answers as defaults, so it doesn't ask again for every site. It creates nothing in any account and saves no passwords or keys.

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

  1. Open your AI tool in the folder where you'll keep your website projects. A folder called Sites in your home folder is the usual choice (~/Sites on a Mac, C:\Users\<you>\Sites on Windows). wp2next creates each new project inside it.
For Claude desktop

a. Create the folder, if it doesn't exist yet:

In Finder, choose Go → Home, then File → New Folder, and name it Sites.

b. In the Claude app, click Code. In the row of controls under the message box:

  • click the first control (the environment) and pick the top entry under Local;
  • click the project folder control next to it, choose Open folder…, and pick your Sites folder;
  • set the permission mode to Manual for now (it asks before every change; you can switch to Accept edits once you're comfortable).

(desktop quickstart⁠ (external site), checked 2026-12; if the controls appear above the message box instead, update the app.)

Your AI tool will ask before it runs things. That's a safety feature; keep it on.

For Claude desktop

In Manual mode, Claude shows each file change as a before-and-after view (a diff) with buttons to approve or decline it, and asks before it runs a command. Read its one-line explanation, then approve. After edits, a small +12 -1 style counter opens the full list of changes. Change the mode with the mode control under the message box (Cmd+Shift+M on a Mac, Ctrl+Shift+M on Windows). Don't turn on Bypass permissions: Anthropic says to use it only in sandboxed containers or virtual machines (desktop docs⁠ (external site), checked 2026-12). The exact wording of the command prompt's buttons isn't documented (check in the UI).

On Windows, Claude has no sandbox of its own, so reading what you approve matters even more (see the Windows guide).

  1. Start init.
For Claude desktop
Text
/wp2next:init

You can also just type "run wp2next init" in plain words. In the , / opens the list of commands, or click + next to the message box and choose Slash commands.

  1. Answer the questions. The Claude app and show them as clickable choices; Codex and Cursor show a numbered list in chat, and you can answer like 1a 2b 3: my-business. Every question puts the recommended answer first. If you're unsure, pick it. The questions come in five groups:

    GroupWhat it asksA good answer for a site owner
    You and Your role; whether code lives in an organization or your personal account; which one; private or publicSite owner; an organization (or your personal account if you'll always work alone); Private
    and content plansVercel plan and team; Sanity plan and organizationPro and the team from step 3; Free; personal account unless you made a Sanity organization
    Ownership, keys, forms, goalWho owns the accounts; where private keys are stored; where form messages go; how close the new site should look to the old oneI own everything; if you use 1Password, Bitwarden or Keeper, pick it, otherwise pick None of these, then macOS Keychain on a Mac (free, built in) or Plain .env files on Windows (see Password manager); Email via Resend; Pixel parity
    Tracking, quality, toolHow to measure visitors; where your visitors are; quality checks; which AI tool you useThe Google stack unless you prefer something else (see Analytics and tags); your visitors' region (Europe, UK or Switzerland means you need a consent banner); the recommended checks; your tool
    Folders and namesWhere new projects go; where Local keeps sites; how things are named; your business nameThe defaults (~/Sites and ~/Local Sites, which on Windows mean the folders in C:\Users\<you>; the default names); your business name

    The look-alike choice ("goal") has three options: pixel parity (the new site looks exactly like the old one on a computer screen; phones get a cleaner layout), faithful (same look and content, small cleanups allowed), and facelift (same content and addresses, new design; see New design). You choose again for each site in step 6.

  2. Check the summary table. At the end, the AI tool shows every answer in one table. Read it, then say yes (or tell it what to change). Nothing is saved until you do.

  3. Pick , if you want them. The AI tool offers a few extra skills from Sanity, Vercel, Next.js and Playwright that help with parts of the job. It installs only the ones you pick, and asks before each install. The recommended ones are a safe choice.

  4. Read the check-up. init finishes by running doctor, which checks your tools, logins and wp2next version. It changes nothing. Fix anything it reports (each problem comes with a fix), then run it again:

For Claude desktop
Text
/wp2next:doctor

The AI tool never asks for a password or key in these questions. If you ever see a request to paste one into the chat, don't. Keys are entered later, in step 6, into a in a terminal: see Entering a private key.

You'll know it worked when

  • You said yes to the summary table and the AI tool says your settings were saved (in ~/.config/wp2next/config.json, on Windows C:\Users\<you>\.config\wp2next\config.json).
  • doctor reports no problems, or only ones you've chosen to leave (for example an optional tool).

If something goes wrong

  • Codex keeps asking for approval, or downloads fail. That's Codex's sandbox; approve the prompts as they come (see item 1).
  • Your AI tool keeps asking before each command or change. That's normal: see "Your AI tool will ask before it runs things" in item 1.
  • The Claude app shows an older layout (the folder and environment controls above the message box). Update the app: on a Mac Claude → Check for Updates…, on Windows Help → Check for Updates…, then start a .
  • The AI tool says a command was blocked and asks you to run it. That's a safety feature. Run the exact command it gives you in a (Claude app: the Terminal pane, Ctrl+`), then tell it you're done.
  • Windows: the AI tool's commands fail with "is not recognized". Quit the AI tool completely and open it again so it picks up the tools from step 2. See the Windows guide.
  • You picked the wrong answer. Run init again any time; it shows your current answers first.
  • More: If it stops, Troubleshooting.

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