Installation
Requirements
- PHP 8.3 or higher
- Composer
Global Installation
The recommended way to install whatsdiff is globally via Composer:
composer global require whatsdiff/whatsdiff
This makes the whatsdiff command available system-wide.
Verify Installation
After installation, verify that whatsdiff is properly installed:
whatsdiff --version
You should see the current version of whatsdiff displayed.
Updating
To update whatsdiff to the latest version:
composer global update whatsdiff/whatsdiff
Next Steps
Once installed, learn how to use the CLI tool in our CLI Overview guide.