Updated CLI error /bin/sh: dfu-util: command not found

Just updated the CLI on Macbook running Mojave and it quits with:

/bin/sh: dfu-util: command not found

I think I saw this once on Mojave. This may not be the best way to fix it, but I did it by installing Homebrew and then:

brew install dfu-util

@daneboomer general advice would be to install dfu-util separately but since you describe this as an upgrade i’d question why things are breaking now. to better troubleshoot, we’ll need you to provide the info detailed here:

Thanks guys. I resolved it by installing dfu-util with mac ports but it was confusing why this was necessary just for an upgrade of the CLI. Hey ho, working again. Thanks for the help!