Skip to content
CLI

Command reference

neox launch flags, subcommands, and slash commands in the interactive UI.

Launch flags

FlagShortDescription
--print-pNon-interactive: run this one prompt, print the result and exit
--jsonWith -p, output JSON
--streamWith -p, stream output as it's generated
--output-schema <file>Return structured output that follows a JSON Schema
--timeout <seconds>With -p, stop after this long
--model <id>-mPick a model; provider:model also works
--provider <id>Pick a provider
--dir <path>-dWorking directory (also --workdir)
--continue-cContinue the most recent session
--resume [id]-rContinue a specific session; without an id, show a picker
--no-sessionDon't save the session
--yoloNever ask before actions for this run (same as --dangerously-skip-permissions)
--leanLean mode: basic tools and a shorter system prompt, for this run only
--debugWrite more detailed logs
--debug-consolePrint debug logs to the terminal
--help-hHelp
--version-vVersion

Subcommands

CommandDescription
neox loginSign in; add --device-code where there's no browser
neox logoutSign out
neox whoamiCurrent account
neox usageUsage and quota
neox deviceSigned-in devices
neox upgradeOpen the subscription page
neox model lsList available models (--source=cloud, byok or all)
neox provider ls / add / test [id]Bring-your-own-key providers: list, add, test the connection
neox mcp ...Manage MCP servers — see MCP
neox skill ...Skills: list, install <url or path>, preview, update, uninstall, trust / untrust
neox browser ls / replay <name>List / replay recorded browser scripts; replay --all replays them all
neox daemon ...Background service — see Daemon
neox updateCheck for updates and update
neox uninstallUninstall

neox "do X" (when it isn't a subcommand name) is the same as neox -p "do X".

Slash commands in the interactive UI

Type / to open the command menu, then type to filter.

Basics

CommandDescription
/helpHelp
/setupSetup wizard: service, model, web search
/clearClear the conversation context (text already on screen stays)
/exitQuit (or /quit)
/feedbackSend feedback

Account

CommandDescription
/login / /logoutSign in / out
/whoamiCurrent account
/usageUsage and quota
/deviceSigned-in devices
/upgradeUpgrade your plan (opens the web page)

Modes

CommandDescription
/modeagent does the work / ask just talks
/thinkingDeep thinking on / off
/approvalWhether to ask before actions: auto / manual / yolo
/sandboxSandbox: limit which files commands can change
/themeColor theme

Models

CommandDescription
/modelSwitch model
/providerProviders and API keys
/effortReasoning effort
/output-styleReply style: standard / concise / detailed / code only / custom
/diagnosticsRequest diagnostics such as cache hits

Sessions

CommandDescription
/resumeContinue a previous session
/sessionls / new / info / export / clear
/rollbackRoll file changes back to a checkpoint — see Checkpoints
/checkpointCheckpoint menu: create manually, list, clean up
/compactCompress the conversation to free up context

Tools

CommandDescription
/attachAttach a file, image or URL to the next message
/workspaceSwitch the working directory
/websearchWeb search
/mcpMCP servers
/skillsSkills
/contextHow much context is in use
/memoryMemory
/initRead the project and generate project memory (.neox/project.md)
/remotePhone / remote access
/psBackground commands (/kill to stop one)

Stats & config

CommandDescription
/statsCurrent session: directory, model, account, mode
/statisticToken usage statistics
/languageInterface language
/notifyCompletion alerts
/ttsRead replies aloud: Edge / OpenAI / off
/indexCode index
/cleanupDisk usage
/experimentalExperimental features
/updateCheck for updates

Installed skills can also be called directly as /<skill name> — see Skills.