CLI
Otter CLI (@otter-engg/cli) is an interactive terminal product โ splash, setup menus, then a session prompt. No Docker required. Data lives under ~/.otter/. Source: apps/cli.
Install
$ npm i -g @otter-engg/cliFor a global binary on PATH, prefer npm i -g @otter-engg/cli. pnpm, yarn, npm, and bun all install from the public npm registry โ same package, no separate Bun publish.
Start
otterAfter the welcome animation and login/model setup, you land on otter โบ. Type a task, or use slash commands.
Slash commands
Understand
/scanโ scan workspace/intelโ intelligence report/healthโ health report/reviewโ code review/docsโ generate overview docs
Ask & plan
/chat <question>/plan <request>/memory [add <note>]
Build
/create <request> [--pr] [--yes]โ plan โ approve โ implement โ validate (edit-first tools; optional PR)/prโ open PR for current local changes
Repos & session
/import owner/repoโ clone from GitHub/model [name]ยท/loginยท/logout/update [--check]โ upgrade@otter-engg/clifrom npm/clearยท/helpยท/exit
Freeform prompts and /create follow the same contract as the Docker Coding UI: understand and plan first, then human approval before writes.
Release
Current CLI line: 0.2.0. See Changelog for Docker image + CLI upgrade commands.
Models
Default Ollama at http://127.0.0.1:11434/v1. Pick models during setup or with /model. More: Models.
Develop the CLI
git clone https://github.com/manasdutta04/otter.git
cd otter/apps/cli
npm install && npm run build
node dist/cli.jsSee Contribute and https://otter.manasdutta.com.