Skip to content

CLI Reference

The default command opens the TUI:

Terminal window
duck

Global options:

Terminal window
duck --profile <name>
duck --sandbox <preset>
CommandPurpose
duck profilesManage profiles, active profile, profile files, and identity-related state.
duck modelManage saved model/provider entries for the active profile.
duck session compactAppend a compaction transition for a session.
duck session get-all-messagesInspect full session messages.
duck session set-runtimeSet or adjust session runtime metadata.
duck session show-runtimeShow runtime metadata for a session.
duck runtime resolveResolve the active runtime configuration.
duck runtime list-modelsList models for the configured provider when supported.
duck runtime capabilitiesShow capabilities available in the current runtime.
duck gateway channelsList registered gateway channels.
duck gateway service startStart the configured gateway service for the active profile.
duck gateway service logTail gateway-routed session activity.
duck gateway service stopStop the gateway service.
duck mcp addAdd an MCP server to profile config.
duck mcp listList configured MCP servers.
duck mcp getShow one MCP server config.
duck mcp removeRemove an MCP server.
duck mcp authAuthenticate an MCP server when required.
duck mcp logoutRemove MCP auth material.
duck sandbox listList built-in and configured sandbox presets.
duck sandbox get <preset>Print one sandbox preset.
duck sandbox check <preset>Check whether the platform can enforce a preset safely.
duck sandbox setup-windowsRun elevated Windows sandbox setup.
duck sandbox windows-setup-statusInspect Windows sandbox setup state.

Some advanced gateway pairing and low-level sandbox/process commands are intentionally hidden from normal help output. User-facing flows should prefer TUI or guided setup.