This is more of a note to my future self on how to upgrade CommandBox on my Mac using Homebrew. Ortus Solutions have a blog post which explains in some detail how to install and update to the latest developer edition, however I had some issues getting things to work on my machine, and I thought I should create a post for reference and for anyone out there that may have the same issues.
First the code.
I kept getting access denied on the folder usr/local. Also, the existing box binary file would not go away while trying to switch to the latest version, and I had to remove it manually.