Skip to content

CLI: Manual Installation

Choose your platform

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.

Terminal window
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.

Terminal window
# clone latest crawler version
git clone https://github.com/janreges/siteone-crawler.git
cd siteone-crawler
# remove x64 Linux binary and replace with macOS x64 binary
rm bin/swoole-cli
wget https://github.com/swoole/swoole-src/releases/download/v4.8.13/swoole-cli-v4.8.13-macos-x64.tar.xz
tar -xvf swoole-cli-v4.8.13-macos-x64.tar.xz
mv 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.

Terminal window
# clone latest crawler version
git clone https://github.com/janreges/siteone-crawler.git
cd siteone-crawler
# remove x64 binary and replace with macOS arm64 binary
rm bin/swoole-cli
wget https://github.com/swoole/swoole-src/releases/download/v4.8.13/swoole-cli-v4.8.13-macos-arm64.tar.xz
tar -xvf swoole-cli-v4.8.13-macos-arm64.tar.xz
mv 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.

Terminal window
# clone latest crawler version
git clone https://github.com/janreges/siteone-crawler.git
cd 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.

Terminal window
# clone latest crawler version
git clone https://github.com/janreges/siteone-crawler.git
cd siteone-crawler
# remove x64 binary and replace with arm64 binary
rm bin/swoole-cli
wget https://github.com/swoole/swoole-src/releases/download/v4.8.13/swoole-cli-v4.8.13-linux-arm64.tar.xz
tar -xvf swoole-cli-v4.8.13-linux-arm64.tar.xz
mv swoole-cli bin/swoole-cli
# run crawler with basic options
./crawler --url=https://crawler.siteone.io/