Skip to main content

Requirements

Reqbook ships as a single static binary with no runtime dependencies: no Node, no Python, no JVM required.
Install methodRequirement
Shell installermacOS or Linux, curl, sh
CargoRust 1.75+
HomebrewmacOS, Homebrew
npmNode.js 18+
DockerDocker Engine
Windows MSIWindows 10 / Server 2019 or later

Install methods

Recommended for most macOS and Linux users. The installer fetches the latest prebuilt binary and places it in ~/.local/bin.
curl -fsSL https://markapidown.net/install.sh | sh
If ~/.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 version
# 0.2.3

rqb doctor
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 same rqb binary. Install Reqbook first, then configure the extension if VS Code cannot find rqb on its process PATH.
{
  "reqbook.rqbPath": "/absolute/path/to/rqb",
  "reqbook.env": "dev"
}
See the VS Code extension guide for commands, variable autocomplete, and result panel behavior.

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 named rqb-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:
curl -fsSL https://markapidown.net/install.sh | sh -s -- --version=vX.Y.Z
This is unrelated to starting an API server; it happens before rqb is installed.

Shell completions

Generate and install completions for your shell so you get tab-completion for subcommands and flags:
rqb completion bash >> ~/.bashrc
source ~/.bashrc

Upgrading

Re-run the installer it replaces the existing binary in place:
curl -fsSL https://markapidown.net/install.sh | sh
After upgrading, run rqb doctor --fix to automatically update any installed AI agent skills (Claude Code, Cursor, Copilot) to the new version. Stale skill files can cause agents to call deprecated flags.