Install
macOS and Linux
Install the latest prebuilt binary without Go:sudo:
PATH:
Windows
Download the latest Windows archive from GitHub Releases, extractvisor.exe, and add it to your PATH:
From source
Developers who already have Go installed can build the CLI and optional MCP server from source:Authenticate
The CLI readsVISOR_API_KEY from the environment:
visor doctor to check authentication and API connectivity.
Use the CLI
Run help first to see the available commands and flags:| CLI command | API endpoint |
|---|---|
visor listings list | GET /v1/listings |
visor listings get <listing_id> | GET /v1/listings/{listing_id} |
visor facets | GET /v1/facets |
visor vins <vin> | GET /v1/vins/{vin} |
visor dealers list | GET /v1/dealers |
visor dealers get <dealer_id> | GET /v1/dealers/{dealer_id} |
visor dealers listings list <dealer_id> | GET /v1/dealers/{dealer_id}/listings |
Output
Use--json for full JSON output:
--agent for compact, predictable output in scripts and LLM tools:
--agent enables JSON output, compact responses, no interactive prompts, no color, and yes-to-confirmations where applicable.
Use --select to return only specific fields:
--select accepts row-relative field names such as id,vin,year,price,miles. Full response paths such as results.data.vin also work. Listing fields use miles, not mileage, and vdp_url, not url.
Facet-first searches
Use facets before narrow listing searches when you are unsure of canonical make, model, trim, or inventory values.--facet-value-limit 100 when you need more than the default 20 values per categorical facet.
Use the exact returned facet value in listing searches:
