docs: enhance development installation instructions (#286)

Thanks for your contribution. I'm merging your changes and I'll add your name to our contributor list. Thank you so much.
This commit is contained in:
zhounan
2024-11-27 15:04:20 +08:00
committed by GitHub
parent b5d4db07d1
commit 73661f7d1f

View File

@@ -110,7 +110,15 @@ For contributors who plan to modify the source code:
```bash
git clone https://github.com/unclecode/crawl4ai.git
cd crawl4ai
pip install -e .
pip install -e . # Basic installation in editable mode
```
Install optional features:
```bash
pip install -e ".[torch]" # With PyTorch features
pip install -e ".[transformer]" # With Transformer features
pip install -e ".[cosine]" # With cosine similarity features
pip install -e ".[sync]" # With synchronous crawling (Selenium)
pip install -e ".[all]" # Install all optional features
```
## One-Click Deployment 🚀