CLI: Manual Installation
Choose your platform
- Windows 7/8/10/11 (x64)
- macOS (x64, Intel)
- macOS (arm64, Apple Silicon, M1/M2/M3)
- Linux (x64) or WSL on Windows
- Linux (arm64)
Windows 7/8/10/11 (x64)
Otherwise, you can
download swoole-cli-v4.8.13-cygwin-x64.zip
from Swoole releases and use precompiled
Cygwin-based bin/swoole-cli.exe
.
c:\Tools\swoole-cli-v4.8.13-cygwin-x64\bin\swoole-cli.exe C:\Tools\siteone-crawler\src\crawler.php --url=https://crawler.siteone.io/
macOS (x64, Intel)
If using x64 macOS, you can download swoole-cli-v4.8.13-macos-x64.tar.xz and use its precompiled swoole-cli
.
# clone latest crawler versiongit clone https://github.com/janreges/siteone-crawler.gitcd siteone-crawler
# remove x64 Linux binary and replace with macOS x64 binaryrm bin/swoole-cliwget https://github.com/swoole/swoole-src/releases/download/v4.8.13/swoole-cli-v4.8.13-macos-x64.tar.xztar -xvf swoole-cli-v4.8.13-macos-x64.tar.xzmv swoole-cli bin/swoole-cli
# run crawler with basic options./crawler --url=https://crawler.siteone.io/
macOS (arm64, Apple Silicon, M1/M2/M3)
If using arm64 macOS, you can download swoole-cli-v4.8.13-macos-arm64.tar.xz and use its precompiled swoole-cli
.
# clone latest crawler versiongit clone https://github.com/janreges/siteone-crawler.gitcd siteone-crawler
# remove x64 binary and replace with macOS arm64 binaryrm bin/swoole-cliwget https://github.com/swoole/swoole-src/releases/download/v4.8.13/swoole-cli-v4.8.13-macos-arm64.tar.xztar -xvf swoole-cli-v4.8.13-macos-arm64.tar.xzmv swoole-cli bin/swoole-cli
# run crawler with basic options./crawler --url=https://crawler.siteone.io/
Linux (x64) or WSL on Windows
The easiest installation is on most Linux (x64) distributions, because git repo contains precompiled binary bin/swoole-cli
.
The same procedure applies to Linux distros (typically Ubuntu/Debian) under WSL on Windows.
# clone latest crawler versiongit clone https://github.com/janreges/siteone-crawler.gitcd siteone-crawler
# run crawler with basic options./crawler --url=https://crawler.siteone.io/
Linux (arm64)
If using arm64 Linux, you can download swoole-cli-v4.8.13-linux-arm64.tar.xz and use its precompiled swoole-cli
.
# clone latest crawler versiongit clone https://github.com/janreges/siteone-crawler.gitcd siteone-crawler
# remove x64 binary and replace with arm64 binaryrm bin/swoole-cliwget https://github.com/swoole/swoole-src/releases/download/v4.8.13/swoole-cli-v4.8.13-linux-arm64.tar.xztar -xvf swoole-cli-v4.8.13-linux-arm64.tar.xzmv swoole-cli bin/swoole-cli
# run crawler with basic options./crawler --url=https://crawler.siteone.io/