I started here – this gave most the tips . This command
sudo pear channel-discover pear.phpunit.de
fails though … so Tamra on another site mentioned to install that part another way. Then finish the above commands.
- wget https://phar.phpunit.de/phpunit.phar
- chmod +x phpunit.phar
- sudo mv phpunit.phar /usr/local/bin/phpunit
- phpunit –version