deepwiki
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesedeepwiki
deepwiki
Query any public GitHub repo's docs from the terminal via DeepWiki. Assumes Node.js is installed.
通过DeepWiki从终端查询任意公开GitHub仓库的文档。假设已安装Node.js。
Commands
命令
| Command | Usage | Description |
|---|---|---|
| | Table of contents |
| | Full wiki content |
| | AI-powered Q&A |
| | Multi-repo Q&A (max 10) |
| 命令 | 用法 | 说明 |
|---|---|---|
| | 目录 |
| | 完整Wiki内容 |
| | AI驱动的问答 |
| | 多仓库问答(最多10个) |
Flags
参数
| Flag | Purpose |
|---|---|
| Raw JSON output (good for piping) |
| No spinners/progress |
| Disable colors |
| 参数 | 用途 |
|---|---|
| 原始JSON输出(适合管道操作) |
| 无加载动画/进度提示 |
| 禁用颜色 |
Examples
示例
bash
undefinedbash
undefinedUnderstand a library's structure
了解一个库的结构
npx @seflless/deepwiki toc facebook/react
npx @seflless/deepwiki toc facebook/react
Get full docs for reference
获取完整文档用于参考
npx @seflless/deepwiki wiki oven-sh/bun --json > bun-docs.json
npx @seflless/deepwiki wiki oven-sh/bun --json > bun-docs.json
Ask a specific question
提出具体问题
npx @seflless/deepwiki ask anthropics/claude-code "How does the tool permission system work?"
npx @seflless/deepwiki ask anthropics/claude-code "How does the tool permission system work?"
Cross-project question
跨项目问题
npx @seflless/deepwiki ask facebook/react vercel/next.js "How do server components work across these projects?"
undefinednpx @seflless/deepwiki ask facebook/react vercel/next.js "How do server components work across these projects?"
undefinedTips
提示
- Use when you need structured data to parse
--json - Use first to understand what docs exist, then
tocfor specificsask - Multi-repo is great for understanding how libraries interact
ask
- 当你需要结构化数据用于解析时,使用参数
--json - 先使用了解现有文档内容,再用
toc查询具体细节ask - 多仓库非常适合了解不同库之间的交互方式
ask