Installation
The CLI requires Go 1.22+.$HOME/go/bin. Add it to your PATH if needed:
Authentication
Set your API key as an environment variable:Command Structure
All commands follow a resource-based pattern:nimble --help to list all resources, or nimble [resource] --help for resource-specific usage.
Core Commands
Extract
Extract clean content from any URL:Search
Perform a real-time web search:Map
Discover all URLs in a domain:Crawl
Crawl an entire website:Agents
Run a pre-built agent:Output Formats
Control response formatting with the--format flag:
| Format | Description |
|---|---|
auto | Automatic (default) |
pretty | Pretty-printed JSON |
json | Compact JSON |
jsonl | JSON Lines (one object per line) |
yaml | YAML output |
raw | Raw API response body |
explore | Interactive explorer view |
Transforming Output
Use--transform with GJSON syntax to extract specific fields:
File Arguments
Pass file contents as argument values using@filename syntax:
@file://filename for plain text or @data://filename for base64-encoded content.
Global Flags
| Flag | Description |
|---|---|
--help | Show help for any command |
--debug | Enable debug logging with full HTTP details |
--version, -v | Display the CLI version |
--base-url | Override the API base URL |
--format | Set output format |
--format-error | Set error output format |
--transform | Transform output using GJSON syntax |
--transform-error | Transform error output using GJSON syntax |
Debug Mode
Enable--debug to inspect the full HTTP request and response — useful for troubleshooting: