v0.8.10 available now

# A terminal-native coding agent
for DeepSeek V4

1M-token context. Thinking-mode streaming. Single binary, zero dependencies — ships an MCP client, sandbox, and durable task queue out of the box.

bash — zsh
$ npm i -g deepseek-tui
View on GitHub Support

## ▸What you get

### 1M context

Built for DeepSeek V4 with intelligent compaction and prefix-cache-aware cost optimization.

### Thinking stream

Watch the model's chain-of-thought unfold in real time before the final answer arrives.

### Native RLM

Fan out 1–16 cheap children in parallel for batched analysis and parallel reasoning.

### Full tool suite

File ops, shell, git, web search, apply-patch, sub-agents, and MCP servers.

### Three modes

Plan (read-only), Agent (interactive), and YOLO (auto-approved) for any workflow.

### Durable sessions

Save, resume, and rollback workspace state without touching your repo's .git.

## ◎China / mirror-friendly install

If downloads from GitHub or npm are slow from mainland China, use one of these paths:

npm via 淘宝镜像 (fastest)

    npm config set registry https://registry.npmmirror.com
    npm install -g deepseek-tui

The npm wrapper itself will still download the binary from GitHub Releases during `postinstall`. If that step is slow, set a mirror for the binary download:

    DEEPSEEK_TUI_RELEASE_BASE_URL=https://your-mirror.example.com \
      npm install -g deepseek-tui

Cargo via 清华 TUNA mirror

Add to `~/.cargo/config.toml`:

    [source.crates-io]
    replace-with = "tuna"

    [source.tuna]
    registry = "sparse+https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/"

Then install both binaries:

    cargo install deepseek-tui-cli --locked   # provides `deepseek`
    cargo install deepseek-tui     --locked   # provides `deepseek-tui`
    deepseek --version

Rustup mirror (for building from source)

    export RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup
    export RUSTUP_UPDATE_ROOT=https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Full platform guide: docs/INSTALL.md · 简体中文 README