Skip to content

Conversation

@YuriNachos
Copy link

Summary

Fixes #1705

The crawl4ai console script was missing from [project.scripts] in pyproject.toml, causing pip to not generate the launcher executable on Windows when installing from the 0.7.8 wheel. Users could not use crawl4ai serve as documented.

List of files changed and why

  • pyproject.toml - Added crawl4ai = "crawl4ai.cli:main" entry point to match the documented CLI usage

How Has This Been Tested?

The fix adds the missing console script entry point. After installing with this fix:

  • crawl4ai serve will work as documented
  • crawl4ai-setup, crawl4ai-doctor, etc. continue to work
  • The crwl alias remains for backwards compatibility

Checklist:

  • My code follows the style guidelines of this project (follows existing [project.scripts] format)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (N/A - fix aligns with existing docs)
  • I have added/updated unit tests that prove my fix is effective or that my feature works (N/A - simple entry point addition)
  • New and existing unit tests pass locally with my changes

🤖 Generated with Claude Code

Fixes unclecode#1705

The `crawl4ai` console script was missing from [project.scripts] in
pyproject.toml, causing pip to not generate the launcher executable on
Windows. Users could not use `crawl4ai serve` as documented.

Added `crawl4ai = "crawl4ai.cli:main"` entry point to match the
documented CLI usage. The `crwl` alias remains for backwards
compatibility.

Co-Authored-By: Claude <[email protected]>
@YuriNachos YuriNachos force-pushed the fix/issue-1705-cli-entry-point branch from 889ef46 to 28e8804 Compare January 17, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: crawl4ai CLI missing after pip install – console-script entry not generated on Windows (0.7.8 wheel)

1 participant