Skip to main content

Installation

If you are using any AI agent like Claude Code, you can install the Firecrawl skill below and the agent will be able to set it up for you.
  • --all installs the Firecrawl skill to every detected AI coding agent
  • --browser opens the browser for Firecrawl authentication automatically
After installing the skill, restart your agent for it to discover the new skill.
You can also manually install the Firecrawl CLI globally using npm:
CLI

Authentication

Before using the CLI, you need to authenticate with your Firecrawl API key.

Login

CLI

View Configuration

CLI

Logout

CLI

Self-Hosted / Local Development

For self-hosted Firecrawl instances or local development, use the --api-url option:
CLI
When using a custom API URL (anything other than https://api.firecrawl.dev), API key authentication is automatically skipped, allowing you to use local instances without an API key.

Check Status

Verify installation, authentication, and view rate limits:
CLI
Output when ready:
  • Concurrency: Maximum parallel jobs. Run parallel operations close to this limit but not above.
  • Credits: Remaining API credits. Each scrape/crawl consumes credits.

Commands

Scrape

Scrape a single URL and extract its content in various formats.
Use --only-main-content to get clean output without navigation, footers, and ads. This is recommended for most use cases where you want just the article or main page content.
CLI

Output Formats

CLI

Scrape Options

CLI
Available Options:
Search the web and optionally scrape the results.
CLI

Search Options

CLI
Available Options:

Map

Discover all URLs on a website quickly.
CLI

Map Options

CLI
Available Options:

Browser

Have your agents interact with the web using a secure browser sandbox. Launch cloud browser sessions and execute Python, JavaScript, or bash code remotely. Each session runs a full Chromium instance — no local browser install required. Code runs server-side with a pre-configured Playwright page object ready to use.
CLI

Browser Options

CLI
Subcommands: Execute Options: Launch Options: Common Options:

Crawl

Crawl an entire website starting from a URL.
CLI

Check Crawl Status

CLI

Crawl Options

CLI
Available Options:

Agent

Search and gather data from the web using natural language prompts.
CLI

Agent Options

CLI
Available Options:

Credit Usage

Check your team’s credit balance and usage.
CLI

Version

Display the CLI version.
CLI

Global Options

These options are available for all commands:

Output Handling

The CLI outputs to stdout by default, making it easy to pipe or redirect:
CLI

Format Behavior

  • Single format: Outputs raw content (markdown text, HTML, etc.)
  • Multiple formats: Outputs JSON with all requested data
CLI

Examples

Quick Scrape

CLI

Full Site Crawl

CLI

Site Discovery

CLI

Research Workflow

CLI

Agent

CLI

Browser Automation

CLI

Combine with Other Tools

CLI

Telemetry

The CLI collects anonymous usage data during authentication to help improve the product:
  • CLI version, OS, and Node.js version
  • Development tool detection (e.g., Cursor, VS Code, Claude Code)
No command data, URLs, or file contents are collected via the CLI. To disable telemetry, set the environment variable:
CLI

Open Source

The Firecrawl CLI and Skill are open source and available on GitHub: firecrawl/cli