|
tvly --help or tvly <command> --help for full option details.tvly --status.tavily v0.1.0
> Authenticated via OAuth (tvly login)
curl -fsSL https://cli.tavily.com/install.sh | bash
uv tool install tavily-cli / pip install tavily-clitvly login --api-key tvly-YOUR_KEY
# or: export TAVILY_API_KEY=tvly-YOUR_KEY
# or: tvly login (opens browser for OAuth)
| Need | Command | When |
|---|---|---|
| Find pages on a topic | tvly search | No specific URL yet |
| Get a page's content | tvly extract | Have a URL |
| Find URLs within a site | tvly map | Need to locate a specific subpage |
| Bulk extract a site section | tvly crawl | Need many pages (e.g., all /docs/) |
| Deep research with citations | tvly research | Need multi-source synthesis |
tavily-search, tavily-crawl) or run tvly <command> --help.--json for structured, machine-readable output and -o to save to a file.tvly search "react hooks" --json -o results.json
tvly extract "https://example.com/docs" -o docs.md
tvly crawl "https://docs.example.com" --output-dir ./docs/
? and & as special characters.--json for agentic workflows — every command supports it.- — echo "query" | tvly search -