Install PHP_CodeSniffer (PHPCS) via git You can use the .phar for PHPCS, but it's easier to pull the repo down from git to then choose what version to use. cd ~ mkdir -p code cd code git clone https://github.com/squizlabs/PHP_CodeSniffer.git phpcs