Ntwine

CLI

Every option, key and environment variable `npx ntwine` understands.

You can run npx ntwine from anywhere. One server serves every project on the machine, each with its own board, so if Ntwine is already running, a second run just joins it.

Where you run it decides what opens:

  • In a folder that's already a project, you get that project's board.
  • In a repository Ntwine hasn't seen yet, it asks whether to add it.
  • Anywhere else, you get All projects.
npx ntwine [options]
OptionWhat it does
--no-appPrint the URL without opening a browser
--port <port>Request a fixed port for a new server
--sandboxA disposable Ntwine to try things in: throwaway home and project, its own port, deleted when this terminal closes. Credentials (gh, cloudflared, Claude, Codex, the machine's ntwine.app key) are shared
--linkPrint a fresh single-use sign-in link for the running board
--sessionsList the devices signed in to the running board
--sign-out <id|all>Sign one device out, or every one of them
--statusReport the board running for this project: address, pid, version
--stopStop the board running for this project; running agents keep going
--debugStream the full event feed to the terminal instead of the compact readout
-h, --helpShow help

Keys in the terminal

While Ntwine is running, the terminal you started it from listens for two keys:

KeyWhat it does
RSet up remote access
LShow a fresh single-use sign-in link as a QR code

Environment

By default, Ntwine runs the Claude Code and Codex versions it pins. You can point it at your own build instead:

VariableWhat it does
NTWINE_CLAUDE_BINRun this Claude Code build instead of the one Ntwine pins
NTWINE_CODEX_BINRun this Codex build instead of the one Ntwine pins

On this page