Command reference
CodeNeter CLI commands, options, slash commands, keyboard shortcuts, and configuration.
Commands
| Command | Description |
|---|---|
codeneter | Start an interactive session in the current folder |
codeneter remote-control | Start an interactive session with remote access on |
codeneter run | Run one prompt without the interactive interface |
codeneter login | Sign in through your browser |
codeneter logout | Remove the stored sign-in |
codeneter whoami | Show the signed-in account |
codeneter config | Print the resolved configuration |
codeneter update | Check for a new version and install it |
codeneter doctor | Check the connection, sign-in, and local dependencies |
codeneter --version | Print the installed version |
codeneter --help | List commands and options |
Options
For codeneter and codeneter remote-control:
| Option | Description |
|---|---|
--mode <mode> | agent, plan, or ask |
--model <name> | Model ID, or auto |
--workspace <path> | Folder to work in instead of the current one |
--resume <sessionId> | Resume a saved session |
For codeneter run:
| Option | Description |
|---|---|
-p, --prompt <text> | Prompt to run; read from standard input if omitted |
--output-format <format> | text (default), json, or stream-json |
--json | Same as --output-format json |
--resume <sessionId> | Continue a saved session |
--auto | Approve actions that would otherwise ask for approval |
--mode <mode> | agent, plan, or ask |
--model <name> | Model ID, or auto |
--workspace <path> | Folder to work in instead of the current one |
Headless use describes the output formats and resuming.
Slash commands
| Command | Description |
|---|---|
/help | Show available slash commands |
/mode | Switch to agent, plan, or ask |
/model | Switch model or use Auto |
/compact | Summarize the conversation |
/resume | Resume a recent session for this folder |
/clear | Start a new conversation |
/delete-chat | Permanently delete the current conversation |
/remote | Turn remote access on or off for this session |
/yolo | Turn confirmations off or on for this conversation |
/commands | Browse and edit saved commands |
/rules | Browse and edit rules |
/skills | Browse and edit skills |
/mcp | Inspect MCP servers and turn them on or off |
/connect | Connect or manage your Codex integration |
/login, /logout, /whoami | Sign in, sign out, or show the signed-in account |
/update | Check for a new version and install it |
/exit | Quit the CLI |
Saved commands also appear when you type /.
Keyboard
| Input | Effect |
|---|---|
@ | Mention a file or folder |
! at the start of the prompt | Run a shell command yourself; the agent doesn't see the output |
| Ctrl+C | Stop the current response or shell command |
| Ctrl+O | Expand or collapse tool output and long messages |
Configuration
Settings are stored in ~/.codeneter/config.json. The desktop app uses the same file, so permission defaults you set in either one apply to both. codeneter config prints the current values.
| Setting | Default | Description |
|---|---|---|
defaultModel | auto | Model for new sessions |
defaultMode | agent | Mode for new sessions |
approvalPolicy.confirmCommands | true | Ask before running terminal commands |
approvalPolicy.confirmDeletes | true | Ask before deleting files |
approvalPolicy.confirmMcp | true | Ask before calling MCP tools |
autoApprove | false | Approve actions without asking, in interactive sessions and codeneter run |
{
"defaultMode": "agent",
"approvalPolicy": {
"confirmCommands": true,
"confirmDeletes": true,
"confirmMcp": true
}
}MCP servers are configured in ~/.codeneter/mcp.json and the project's .codeneter/mcp.json. See MCP servers. Rules, skills, and commands are described under Customize.