Repository navigation
Command Line
github-actions[bot] edited this page Nov 6, 2026
·
3 revisions
The rl command runs collections and tests from a terminal or CI.
Download the rl archive for your system from the latest release. It is one file and needs no Node.
| System | Archive |
|---|---|
| Windows | rl-windows-<version>.zip |
| macOS, Apple Silicon | rl-macos-<version>.zip |
| Linux, x64 | rl-linux-x64-<version>.tar.xz |
Unpack it and put rl on your PATH.
-
Linux and macOS: move it to a folder on your PATH, such as
~/.local/bin. -
Windows: put
rl.exein a folder such asC:\tools\rl, then add that folder to your user PATH in Environment Variables. Avoidsetx PATH, which can cut it off at 1024 characters. -
macOS: the file isn't notarized, so if it's blocked, run
xattr -d com.apple.quarantine rl.
The restless installer doesn't include rl, and there is no npm package yet.
| Command | Purpose |
|---|---|
rl run collection [id] |
Run a collection |
rl run test [id] |
Run unit test suites |
rl lint spec [id] |
Lint an API spec |
rl export spec [id] |
Export an API spec |
rl script <name> |
Run a script from .insorc
|
By default, rl reads the restless data folder. Use -w to read something else:
rl run collection -w ./collection.yaml-w accepts a Git repository, an export file or a data folder.
| Option | Purpose |
|---|---|
-e, --env <id> |
Environment to use |
-g, --globals <id> |
Global environment |
--env-var <key=value> |
Override a variable |
-n, --iteration-count <n> |
Number of runs |
-d, --iteration-data <path> |
JSON or CSV data file or URL |
-t, --requestNamePattern <regex> |
Filter requests |
-r, --reporter <name> |
Output format |
--requestTimeout <ms> |
Request timeout |
--ci |
Disable prompts |
Run rl --help for everything.
rl run collection -w ./api.yaml --ci -e stagingThese pages are generated from docs/wiki in the repository. Edit them there, not on the wiki.