For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

Install Rook

Rook is publicly available from the LambdaTest/rook repository. Install it with Homebrew, the shell installer, or npm. Use one method per machine so an older executable from another method does not take precedence on PATH.

Prerequisites

RequirementWhy
macOS or Linux on arm64 or x64These are the platforms supported by the public Homebrew and shell packages.
TestMu AI accountSupplies authentication and credits. You can sign in after installation.
Your agent's dependenciesRook invokes the target agent as you would. A local command, service, or supporting tool must already be available.

The Homebrew and shell packages carry a matching Node.js runtime. You do not need Docker, a cluster, the Rook source code, or your own model API key. If you choose npm, npm must already be available to run the install command.

Install With Homebrew

The public formula is maintained in the Rook Homebrew tap.

brew tap LambdaTest/rook https://github.com/LambdaTest/rook.git
brew install lambdatest/rook/rook

Use the fully qualified lambdatest/rook/rook formula name. Homebrew requires a third-party tap formula to be explicitly trusted; brew install rook can be rejected as an untrusted formula even after adding the tap.

To upgrade a Homebrew installation:

brew update
brew upgrade lambdatest/rook/rook

Install With the Shell Installer

The public install.sh script downloads and verifies the correct release for the current platform.

curl -fsSL https://raw.githubusercontent.com/LambdaTest/rook/main/install.sh | bash

The public installer:

  1. Detects macOS or Linux and the arm64 or x64 architecture.
  2. Finds the latest public GitHub release.
  3. Downloads the matching archive and its SHA-256 sidecar.
  4. Verifies the archive before extracting it.
  5. Installs the release under ~/.testmuai/rook-VERSION/, where VERSION is the selected semantic release.
  6. Links rook into ~/.local/bin by default.

If ~/.local/bin is not on PATH, the installer prints the exact export command to add. Run it and open a new terminal.

Pin a release or change the binary directory

Pass installer options after bash -s --:

# Install the current production release explicitly.
curl -fsSL https://raw.githubusercontent.com/LambdaTest/rook/main/install.sh \
| bash -s -- --version 0.1.1

# Link the executable into another writable directory.
curl -fsSL https://raw.githubusercontent.com/LambdaTest/rook/main/install.sh \
| bash -s -- --dir "$HOME/bin"

Run the installer with --help to list its supported options:

curl -fsSL https://raw.githubusercontent.com/LambdaTest/rook/main/install.sh \
| bash -s -- --help

The public installer uses --version and --dir flags and does not require GitHub authentication.

Install With npm

The @testmuai/rook package is public on npm.

npm install -g @testmuai/rook

To upgrade an npm installation:

npm update -g @testmuai/rook

The npm package installs the rook executable and publishes platform runtime packages with it. If npm reports an engine error, update the Node.js version used to run npm to Node.js 22 or newer.

Verify the Installation

command -v rook
rook --version
rook doctor

Then enter an agent repository and start the TUI:

cd your-project
rook

rook doctor checks the CLI version, workspace, production service reachability, identity, authentication, project selection, TTY mode, and local state.

Public Releases and Checksums

Published versions and platform archives are available on the Rook releases page. Release assets follow this pattern:

rook-<version>-darwin-arm64.tar.gz
rook-<version>-darwin-x64.tar.gz
rook-<version>-linux-arm64.tar.gz
rook-<version>-linux-x64.tar.gz

Each archive has a matching .sha256 file. Do not bypass a checksum mismatch; delete both downloads and fetch them again from the public release.

Troubleshoot Installation

SymptomWhat to do
rook: command not foundAdd the installer directory to PATH, open a new terminal, and run command -v rook.
Homebrew refuses to load an untrusted formulaInstall the fully qualified lambdatest/rook/rook formula.
Unsupported OS or architectureUse macOS or Linux on arm64 or x64. On Windows, run Rook from WSL.
Release download is resetAllow GitHub and release-assets.githubusercontent.com through the VPN or proxy, then retry.
Checksum verification failsDelete the archive and checksum file. Download them again; never install an unverified archive.
npm reports an engine mismatchRun npm with Node.js 22 or newer, then retry the global install.

If a public install path still fails, open a Rook issue with the OS, architecture, install method, and full error output.

Next Step

Continue with How to Get Started With Agent Assurance.

Test across 3000+ combinations of browsers, real devices & OS.

×
Schedule Your Personal Demo
Book Demo

Help and Support

Related Articles