Reference·First runIndexClose
First run
The setup wizard: when it opens, what each stage shows, and the usual mistakes.
nodecode
When setup opens
| Case | Result |
|---|---|
| No provider has a credential, or no default model is saved | Setup opens on the first frame. |
nodecode setup | Setup opens on the first frame. |
/setup in the shell | Setup opens now. |
A credential can come from config.jsonc, auth.json or the environment.
The walk imports first, then has three steps: Provider, Model, Reasoning effort. The counts them: step 1/3. The lists what each stage takes. Left and Right move between steps. Esc on the provider list ends the walk.

Quitting halfway and expecting it to pick up
The walk keeps no state. The next launch opens it again until a provider and a default model are both saved.
Instead: nodecode setup walks it again.
Writing config.jsonc by hand before the first run
A parse error stops the launch: is not valid JSONC (byte N).
Instead: Fix it or move it aside. Then nodecode setup.
1. Import
The import runs only when another coding agent's home is on this machine. Nodecode knows 15 of them: Claude Code, Codex, OpenCode, Cursor CLI, Gemini CLI, Qwen Code, pi, Crush, Cline, Windsurf, Kiro, dotagents, Hermes Agent, Openclaw and Command Code. It does not ask first.
The walk says what it found in its own dialog, never the chat: a ledger over the key check, such as 2 keys, 3 configs and 1 memory, each with the agents it came from. The keys land first; instructions, memory, skills, servers, bots and jobs land behind the walk.
When the import brings a default model over and its provider answers, the walk ends there. /models changes the pick.
| Item | Here |
|---|---|
| Instructions | Added to ~/.nodecode/AGENTS.md, under the agent's name. |
| Skills | Kept by name, with their description. |
| MCP servers | Written to the config, off. /mcp starts one: the server's row. |
| API keys | Copied to auth.json, then checked. |
| Sign-ins | Stay with the other agent. |
| Sessions | Left out. nodecode import WORLD --only sessions brings them. |
| Settings this home already has | Kept. |
| Report | ~/.nodecode/import/report-<time>.txt |
Starting where another agent holds keys you don't want here
The import runs without a question. Keys and bot tokens come with it.
Instead: Run nodecode import WORLD first and pick Skip. Then nodecode.
Expecting a Claude Code or Codex sign-in to come over
A sign-in stays with its agent. The report says so: no key imported here serves it.
Instead: Paste an API key in the provider step.
Waiting for an imported MCP server to answer
Imported servers land off: lands off: its row in /mcp, filesystem, starts it.
Instead: /mcp, then the server's row, once you have read what it runs.
2. Provider
Seven providers come first, then the rest A to Z. Enter on one asks for its key and that makes one. The shows stars.

Nodecode asks the provider before it saves. A key that answers goes to ~/.nodecode/auth.json . The provider , over Connect another. Connect a second one, or press Enter on a connected provider to pick its model.

Pasting the key while the list is open
It goes into the search, in plain text, and finds No matching providers.
Instead: Press Enter on the provider first. Paste into the key field.

Pasting a key from another provider, or one with a typo
DeepSeek refused this key (HTTP 401 invalid_api_key); nothing was saved.
Instead: Make a key on the page the step names. Enter pastes another.
DeepSeek key works, saved to auth.json.
Reading "saved" as "works"
A provider that doesn't answer in 5 seconds gets the key saved anyway: not checked: no answer.
Instead: Run /doctor. If the key fails, /models takes it again: pick the provider, then Ctrl+E.
Connecting a local server before it runs
nothing listens at …; nothing was saved.
Instead: Start the server. Enter checks again.
Pressing Ctrl+V over SSH
No clipboard to read here — paste with your terminal (Ctrl+Shift+V)
Instead: Ctrl+Shift+V.
3. Model
The picker opens on the : the provider's newest that can call tools. A list not fetched yet reads Loading the model list… and fills in place. Type to search. Enter makes the the default for every session.

Pressing Esc on the model step, then on the providers
Esc on the model step goes back to the provider list. Esc there ends the walk with nothing picked. The summary's problem line says model: no model configured — /models picks one, and writes it to the shared config, and every prompt fails until one is.
Instead: /models.
Pressing Enter on the first row without reading it
It is the newest model with tool calls, not the one you use.
Instead: Type part of the name you want, then Enter.
Editing config.jsonc while the walk runs
The pick can't be written: was not saved: … is not valid JSONC.
Instead: Fix the file. Then /models.
4. Reasoning effort
After a pick, the step opens the model's own reasoning ladder. Enter applies a rung from the next turn, in this session and every new one, and the summary notes it: reasoning effort: high. Esc keeps the current one and ends the walk. Left goes back to the model. /think changes it later.
A model with no reasoning controls shows one Continue row: This model has no reasoning effort controls.
5. Finish
The walk ends on its last page, in the same dialog. Its head says Ready, or how many things there are to check. Under it: each problem or check first, then the provider, the model, what the import found, and notes.

| Row | Shows | Does |
|---|---|---|
Start | Nothing left to check | Closes the walk on an empty chat. The row says type a task, such as "what is in this folder?". |
Change provider or key | Something to check | Goes back to step 1. |
Start anyway | Something to check | Starts, and the footer keeps the count: 1 setup issue, which opens /setup. |
Details | An import ran | Lists what came over, agent by agent. |
Esc starts too. The footer gains the .
Pressing Start anyway over a model problem
The turn fails: no model is chosen yet: /setup connects a provider and picks one.
Instead: Change provider or key, or /models. The footer's count goes when the pick answers it.
Expecting the summary again in the chat
The walk never writes it there. The footer keeps only the count.
Instead: /doctor reports the same. /setup walks it again.
Expecting it to keep running after the last shell closes
It does while the gateway is on, its default on Linux and macOS. Off, /doctor says gateway off — nothing keeps this organism running once its last shell closes.
Instead: nodecode gateway on.
A nodecode.ai account
API credit from nodecode.ai needs no key pasted. Top up, then sign in:
nodecode login
It signs in for API credit, pay per token from your balance, and asks nothing. In the shell, /login does the same.
It opens nodecode.ai in your browser with this machine's code already in the page: Your browser is open at nodecode.ai. Over SSH it prints the link instead, Open this page in a browser, on this machine or any other, and any device signs it in. Nothing is pasted back.
Then it prints Signed in, saves the account key to auth.json, and prints the meter: Founders Base plan: 41,188 of 42,000 requests left, resets Nov 11 · 0 of 4 running, and API credit: …. Run nodecode, then /models to choose a nodecode model.
The footer shows the meter from then on. A click on it opens /usage.
| Command | Does |
|---|---|
nodecode login | Signs in, in a browser, to run on the account's API credit. |
/login | The same, from the shell. |
nodecode logout, /logout | Signs this machine out again. |
nodecode machine link [CODE] | Links this machine with a code from Machines. |
Signing in on an account with no credit
This account has no API credit yet: add some at https://nodecode.ai/account/top-up. Calls answer 402 until there is some. An account that holds a plan is not told this: the plan pays first.
Instead: Top up. The terminal spends it from its next request, with no new sign-in.
Secrets
| Secret | Stored in | Mode |
|---|---|---|
| Provider API key | ~/.nodecode/auth.json | 0600 |
A secret pasted in /settings | A file under ~/.nodecode/secrets/ | 0600 |
The config names the file, never the value.
Coming back
| Command | Does |
|---|---|
nodecode setup | Opens the shell with setup on the first frame. |
/setup | Opens the whole walk. Takes no argument. |
/login | Signs in to your nodecode.ai account, to run on its API credit. |
/models | Opens the providers under Main, Auxiliary, Decider and Backup tabs. Connect one, or pick a model. |
/cells | Lists cells. Space turns one on or off. |
/settings | Browse and change settings, a cell's among them. |
/doctor | Lists what is missing, with a fix for each. |
Typing /setup discord
`/setup` does not take arguments.
Instead: nodecode gateway setup discord in a terminal. See Channels.
Turning a cell off in /cells and expecting it gone
The row says its code stays loaded until a restart.
Instead: Restart nodecode.
Editing auth.json by hand
A file that doesn't parse reads as no keys. The next save fails.
Instead: Let /models write it.
What it said, line by line: Troubleshooting. Then type a prompt and press Enter. Keys: Shell.