-p, --port <n> | Use this HTTP port. The default is 7723 or another free port. Changing it changes the browser address but does not change saved work. |
--host [address] | Listen on this network address. A bare flag uses 0.0.0.0 and allows other devices on the local network to connect. |
--no-open | Start the server without opening a browser. Saved work is unchanged. |
-w, --watch | Reload the browser after supported files change outside DocWriter. A newer external file can replace saved tab state. |
--restart | Start the server again one second after a crash. The active agent run does not resume. |
--root <dir> | Use this directory as the workspace root. The positional directory does the same job. |
--new-session | Clear the saved provider conversation at startup. Workspace files remain. |
--api-key <key> | Set the Anthropic key for this process. The key can appear in shell history or process information. |
--model <name> | Set the Claude default model alias for this process. |
--version | Print the installed version without starting the server. |