From 5249bd6f3455e64bbd0c7ff5a065c36bc1f2a7ea Mon Sep 17 00:00:00 2001 From: catlog22 Date: Sun, 26 Oct 2025 14:17:43 +0800 Subject: [PATCH] docs: fix Windows installation commands for ripgrep and jq MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Corrected ripgrep winget command from incorrect package ID to simplified `winget install ripgrep` - Simplified jq winget command to `winget install jq` - Added multiple Windows installation options (WinGet, Chocolatey, Scoop, manual) - Enhanced formatting with platform-specific sections - Added verification commands for both tools - Improved user experience with clearer instructions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- INSTALL.md | 4 ++-- INSTALL_CN.md | 12 ++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 197a712d..2ea6a823 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -151,8 +151,8 @@ While CCW works with Claude alone, installing these tools provides enhanced anal | Tool | Purpose | Installation | |------|---------|--------------| -| **ripgrep (rg)** | Fast code search | `brew install ripgrep` (macOS), `apt install ripgrep` (Ubuntu), `winget install ripgrep` (Windows) | -| **jq** | JSON processing | `brew install jq` (macOS), `apt install jq` (Ubuntu), `winget install jq` (Windows) | +| **ripgrep (rg)** | Fast code search | **macOS**: `brew install ripgrep`
**Linux**: `apt install ripgrep` (Ubuntu) / `dnf install ripgrep` (Fedora)
**Windows**: `winget install ripgrep` / `choco install ripgrep` / `scoop install ripgrep`
**Verify**: `rg --version` | +| **jq** | JSON processing | **macOS**: `brew install jq`
**Linux**: `apt install jq` (Ubuntu) / `dnf install jq` (Fedora)
**Windows**: `winget install jq` / `choco install jq` / `scoop install jq`
**Verify**: `jq --version` | #### External AI Tools diff --git a/INSTALL_CN.md b/INSTALL_CN.md index 33f3699c..b30f8d19 100644 --- a/INSTALL_CN.md +++ b/INSTALL_CN.md @@ -175,13 +175,21 @@ cd Dmsflow 这些工具增强了文件搜索和数据处理能力。 - **`ripgrep` (rg)**: 一款高速代码搜索工具。 - - **Windows**: `winget install BurntSushi.Ripper.MSVC` 或 `choco install ripgrep` + - **Windows**: + - **WinGet**: `winget install ripgrep` (推荐,自动选择 MSVC 版本) + - **Chocolatey**: `choco install ripgrep` + - **Scoop**: `scoop install ripgrep` + - **手动下载**: 从 [GitHub Releases](https://github.com/BurntSushi/ripgrep/releases) 下载预编译二进制文件 - **macOS**: `brew install ripgrep` - **Linux**: `sudo apt-get install ripgrep` (Debian/Ubuntu) 或 `sudo dnf install ripgrep` (Fedora) - **验证**: `rg --version` - **`jq`**: 一款命令行 JSON 处理器。 - - **Windows**: `winget install jqlang.jq` 或 `choco install jq` + - **Windows**: + - **WinGet**: `winget install jq` (推荐) + - **Chocolatey**: `choco install jq` + - **Scoop**: `scoop install jq` + - **手动下载**: 从 [GitHub Releases](https://github.com/jqlang/jq/releases) 下载 `jq-windows-amd64.exe` 并重命名为 `jq.exe` - **macOS**: `brew install jq` - **Linux**: `sudo apt-get install jq` (Debian/Ubuntu) 或 `sudo dnf install jq` (Fedora) - **验证**: `jq --version`