Requirements
Reqbook ships as a single static binary with no runtime dependencies: no Node, no Python, no JVM required.| Install method | Requirement |
|---|---|
| Shell installer | macOS or Linux, curl, sh |
| Cargo | Rust 1.75+ |
| Homebrew | macOS, Homebrew |
| npm | Node.js 18+ |
| Docker | Docker Engine |
| Windows MSI | Windows 10 / Server 2019 or later |
Install methods
- Shell installer
- Cargo
- Homebrew
- npm
- Docker
- Windows (MSI)
Recommended for most macOS and Linux users. The installer fetches the latest prebuilt binary and places it in If
~/.local/bin.~/.local/bin is not on your PATH, the installer prints the exact line to add to your shell profile (~/.bashrc, ~/.zshrc, etc.).The shell installer script is open-source and auditable at github.com/ngoclinh93qt/ReqBook.
Verify the installation
After installing, confirm the binary is on your PATH and run the built-in diagnostics:rqb doctor runs a series of checks: it verifies that api-docs/ exists, that local environment files are listed in .gitignore, that all specs in the project are valid, and that any installed AI agent skills match the current binary version.VS Code extension
The VS Code extension uses the samerqb binary. Install Reqbook first, then configure the extension if VS Code cannot find rqb on its process PATH.
Troubleshooting
Shell installer returns 404
The shell installer downloads a platform-specific binary from the latest GitHub Release. For example, Apple Silicon macOS expects an asset namedrqb-aarch64-apple-darwin.tar.xz.
If the install command fails with curl: (56) The requested URL returned error: 404, the latest release is missing that binary asset. Re-run the release workflow for the current tag or pin a release tag that has assets:
rqb is installed.
Shell completions
Generate and install completions for your shell so you get tab-completion for subcommands and flags:- Bash
- Zsh
- Fish
Upgrading
- Shell installer
- Cargo
- Homebrew
- npm
Re-run the installer it replaces the existing binary in place: