开源推荐
morning
GitHub 热门项目:CodeWhale
2026-05-28
1 阅读
GitHub Trending
GitHub 项目:CodeWhale
仓库地址:https://github.com/Hmbown/CodeWhale
星级:35538 | 作者:Hmbown
项目描述:DeepSeek + MiMo 终端编码代理
===================================================
自述文件内容:
# 代码鲸鱼
> Terminal coding agent for DeepSeek V4. It runs from the `codewhale` command, streams reasoning blocks, edits local workspaces with approval gates, and includes an auto mode that chooses both model and thinking level per turn.
[简体中文 README](README.zh-CN.md)
[日本語 README](README.ja-JP.md)
## 安装
`codewhale` 作为一对匹配的独立 Rust 发行版二进制文件安装:
`codewhale` 调度程序命令和兄弟 `codewhale-tui` 运行时
launches for interactive sessions. npm, Homebrew, and Docker install both for
你;货物和手动安装必须将两个二进制文件放在同一目录中
(normally a directory on your `PATH`). npm 包只是一个
installer/wrapper for those release binaries; the agent does not run on Node.
````bash
# 1. npm — easiest if you already use Node. The package downloads the
# 匹配来自 GitHub Releases 的预构建 Rust 二进制文件。
npm install -g 码鲸
# 2. 货物 — 不需要节点。 Requires Rust 1.88+ (the crates use the
#2024年版;旧的工具链失败并显示“feature `edition2024` is
# 必需”)。首先运行 `rustup update`,或者使用下面的非 Cargo 路径。
Cargo install codewhale-cli --locked # `codewhale` (入口点)
Cargo install codewhale-tui --locked # `codewhale-tui` (TUI 二进制文件)
# 3. Homebrew — macOS 包管理器。
# 水龙头/公式名称是旧的;它安装了 codewhale 和 codewhale-tui。
酿造水龙头 Hmbown/deepseek-tui
酿造安装deepseek-tui
# 4. 直接下载 — 来自 GitHub Releases 的平台存档。
# https://github.com/Hmbown/CodeWhale/releases
# 档案包括 codewhale 和 codewhale-tui 以及安装脚本。
# 还附加了脚本的单独二进制文件;保持两人在一起。
# 5. Docker — 预构建的发布镜像。
docker 卷创建 codewhale-home
docker run --rm -it \
-e DEEPSEEK_API_KEY="$DEEPSEEK_API_KEY" \
-v codewhale-home:/home/codewhale/.codewhale \
-v "$PWD:/工作区" \
-w /工作空间\
ghcr.io/hmbown/codewhale:最新
````
> 在中国大陆,加快npm路径
> `--registry=https://registry.npmmirror.com`,或使用
> 下面的[货物镜像](#china--mirror-friend-installation)。
>
> 下载安全:官方发布的二进制文件位于
> `https://github.com/Hmbown/CodeWhale/releases`。对于手动下载,
> 验证 SHA-256 清单并避免相似的存储库或搜索结果
> 镜子。请参阅[下载安全性和校验和](docs/INSTALL.md#2-download-safety-and-checksums)。
已经安装了吗?使用与安装路径匹配的更新程序:
````bash
codewhale update # 发布二进制更新程序
npm install -g codewhale@latest # npm 包装器
酿造更新 && 酿造升级 deepseek-tui
货物安装 codewhale-cli --locked --force
货物安装 codewhale-tui --locked --force
````
[](https://github.com/Hmbown/CodeWhale/actions/workflows/ci.yml)
[![npm](https://img.shields.io/npm/v/co