I mentioned in my last post that WP-CLI’s Homebrew Formula includes a dependency on Composer I don’t need. I spent a few minutes and came up with a simpler Formula with no dependencies. To install, just run brew install [--HEAD] itspriddle/brews/wp-cli. The Formula just downloads pre-compiled phar files directly from GitHub, this works great for my needs.


EDIT, May 12, 2018: Homebrew now ships with a similar formula for WP-CLI, so I have removed my version from itspriddle/brews.