docs(cnode): add direct GitHub raw URL install option

- Users can install directly from GitHub without hosting
- Added both crawl4ai.com and GitHub raw URL options
- Clarified Method 2 is for development/contributors
This commit is contained in:
unclecode
2025-10-21 11:03:51 +08:00
parent d88ff3fbad
commit 418dd60a80

View File

@@ -72,25 +72,29 @@ That's it! Your server is running at **http://localhost:11235** 🎉
### Method 1: Quick Install (Recommended) ### Method 1: Quick Install (Recommended)
```bash ```bash
# From crawl4ai.com (when hosted)
curl -sSL https://crawl4ai.com/install-cnode.sh | bash curl -sSL https://crawl4ai.com/install-cnode.sh | bash
# Or directly from GitHub
curl -sSL https://raw.githubusercontent.com/unclecode/crawl4ai/main/deploy/installer/install-cnode.sh | bash
``` ```
### Method 2: From GitHub ### Method 2: Clone Repository (For Development)
```bash ```bash
# Clone the repository # Clone the repository
git clone https://github.com/unclecode/crawl4ai.git git clone https://github.com/unclecode/crawl4ai.git
cd crawl4ai/deploy/installer cd crawl4ai/deploy/installer
# Run local installer # Run installer
./install-cnode.sh ./install-cnode.sh
``` ```
### Method 3: Custom Location ### Method 3: Custom Location
```bash ```bash
# Install to custom directory # Install to custom directory (using GitHub raw URL)
INSTALL_DIR=$HOME/.local/bin curl -sSL https://crawl4ai.com/install-cnode.sh | bash INSTALL_DIR=$HOME/.local/bin curl -sSL https://raw.githubusercontent.com/unclecode/crawl4ai/main/deploy/installer/install-cnode.sh | bash
# Add to PATH # Add to PATH
export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.local/bin:$PATH"