Installation
- One-Line Installer
- Homebrew
- pip
- From Source
The fastest way to install — no Python or Homebrew required (macOS / Linux):This installs all extras by default (datasets, LLM, PostgreSQL, ClickHouse). Options:
Optional Extras
Install additional capabilities based on your needs:| Package | Command | What It Adds |
|---|---|---|
| Data | pip install "anysite-cli[data]" | DuckDB + PyArrow for dataset pipelines and SQL querying |
| LLM | pip install "anysite-cli[llm]" | LLM analysis with OpenAI and Anthropic models |
| PostgreSQL | pip install "anysite-cli[postgres]" | PostgreSQL database adapter |
| ClickHouse | pip install "anysite-cli[clickhouse]" | ClickHouse database adapter |
| All | pip install "anysite-cli[all]" | All optional dependencies |
Verify Installation
Configuration
Set Your API Key
Get your API key from app.anysite.io and configure it:Update Schema Cache
The schema cache enables endpoint discovery and automatic type conversion:Configuration Management
Configuration Priority
Settings are resolved in this order (highest priority first):- CLI flags —
--format csv,--parallel 5 - Environment variables —
ANYSITE_API_KEY - Config file —
~/.anysite/config.yaml - Defaults — built-in default values
Claude Code Skill
Install the anysite-cli skill for Claude Code to get AI-assisted data collection directly in your terminal: The skill gives Claude Code full knowledge of all anysite commands, dataset pipeline configuration, database operations, and LLM analysis — so you can describe what data you need in natural language and let the agent build and run the pipeline for you.Global Options
These options are available for all commands:Troubleshooting
Command not found: anysite
Command not found: anysite
Make sure the Python scripts directory is in your Or install globally:
PATH. If you installed in a virtual environment, activate it first:Python version error
Python version error
Anysite CLI requires Python 3.11+. Check your version:Consider using pyenv to manage multiple Python versions.
Schema update fails
Schema update fails
If
anysite schema update fails, check your API key and network connection:Permission denied on install
Permission denied on install
Use a virtual environment or the
--user flag:Next Steps
Discover Endpoints
Browse and search 118+ available API endpoints
Make API Calls
Start extracting data with single API requests