Skip to content

Installation

Terminal window
curl -fsSL https://raw.githubusercontent.com/buYoung/mcp/main/apps/codemap-search/install.sh | sh

Custom install directory or version:

Terminal window
curl -fsSL https://raw.githubusercontent.com/buYoung/mcp/main/apps/codemap-search/install.sh | INSTALL_DIR=/usr/local/bin sh
curl -fsSL https://raw.githubusercontent.com/buYoung/mcp/main/apps/codemap-search/install.sh | sh -s -- --version 0.14.2
Option / Env var Description
--install-dir / INSTALL_DIR Install path (default ~/.local/bin)
--version / CODEMAP_VERSION Version or tag to install (e.g. 0.14.2; default latest)
--no-modify-path / CODEMAP_NO_MODIFY_PATH=1 Skip adding the install path to your shell profile
CODEMAP_LINUX_LIBC Use gnu on Linux x86_64 (default musl)
--print-target Print detected target and URLs without downloading

Open a new terminal and check the installed version:

Terminal window
codemap-search --version

If the command is not found, see Troubleshooting. Otherwise, continue to MCP Client Setup.

If your terminal reports codemap-search: command not found, add the install directory (~/.local/bin, or ~/.cargo/bin when installed via Cargo) to your shell profile or Windows User Path:

Terminal window
# zsh (macOS / Linux)
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
# bash (Linux / macOS)
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
Terminal window
# Windows PowerShell (open a new terminal afterward)
$p = [Environment]::GetEnvironmentVariable("Path", "User")
[Environment]::SetEnvironmentVariable("Path", "$HOME\.local\bin;$p", "User")

You can also download prebuilt archives directly from GitHub Releases:

System Architecture / libc Archive
Linux x86_64 (musl) codemap-search-x86_64-unknown-linux-musl.tar.gz
Linux x86_64 (gnu) codemap-search-x86_64-unknown-linux-gnu.tar.gz
Linux arm64 (musl) codemap-search-aarch64-unknown-linux-musl.tar.gz
macOS Apple Silicon codemap-search-aarch64-apple-darwin.tar.gz
macOS Intel codemap-search-x86_64-apple-darwin.tar.gz
Windows x86_64 codemap-search-x86_64-pc-windows-msvc.zip
Windows arm64 codemap-search-aarch64-pc-windows-msvc.zip