Installation
tip
wp-seo-ops requires a WordPress site with WP-CLI installed.
Prerequisites
- WordPress 5.0+ with WP-CLI installed (
wpcommand available) - Python 3.8+ for advanced analysis features
- PHP 7.4+ (for WP-CLI operations)
- Bash 4.0+ (the CLI is written in Bash)
Install
Quick Install
cd wp-seo-ops
bash scripts/install.sh
This installs the seo-ops command to ~/.local/bin/seo-ops and sets up the config directory at ~/.wp-seo-ops/.
Manual Setup
# Add to PATH
export PATH="$HOME/.local/bin:$PATH"
# Or symlink manually
ln -sf "$(pwd)/src/wp-seo-ops" ~/.local/bin/seo-ops
Verify Installation
seo-ops --version
# wp-seo-ops 0.1.0
seo-ops help
# Shows available commands
First-Time Configuration
seo-ops config init
This creates ~/.wp-seo-ops/config.json with default settings. You can set a default WordPress path:
seo-ops config set default_path /var/www/html
Directory Structure
~/.wp-seo-ops/
├── config.json # Main configuration
└── pipelines/ # Content pipeline files (created on first pipeline import)
Uninstall
rm -f ~/.local/bin/seo-ops
rm -rf ~/.wp-seo-ops