lessweb / deepcode-cli

deepcode-cli

deepcode-cli
144 11 0 更新于 2026-04-30 16:13

Deep Code CLI

Vibe coding for the deepseek-v4 model, in your terminal.

Install

npm install -g @vegamo/deepcode-cli

Then run deepcode inside any project directory.

intro1

Configure

Create ~/.deepcode/settings.json:

{  "env": {    "MODEL": "deepseek-v4-pro",    "BASE_URL": "https://api.deepseek.com",    "API_KEY": "sk-..."  },  "thinkingEnabled": true,  "reasoningEffort": "max"}

The same settings file is shared with the Deep Code VSCode extension.

Skills

Skills live in:

  • ~/.agents/skills/<name>/SKILL.md (user-level)
  • ./.deepcode/skills/<name>/SKILL.md (project-level)

Inside the TUI press / to open the skill picker, or type the skill name directly (e.g. /skill-writer).

Keys

KeyAction
EnterSend the prompt
Shift+EnterInsert a newline (also Ctrl+J)
Ctrl+VPaste an image from the clipboard
EscInterrupt the current model turn
/Open the skills / commands menu
/newStart a fresh conversation
/resumeChoose a previous conversation to continue
/skillsList available skills
/exitQuit Deep Code
Ctrl+D twiceQuit Deep Code

Storage

Every project keeps its history in ~/.deepcode/projects/<project-code>/:

  • sessions-index.json — index of conversations
  • <sessionId>.jsonl — message stream for each conversation

Develop

npm installnpm run typechecknpm testnpm run build      # produces dist/cli.cjs