Recently, I upgraded my Homebrew installation of Httpie.

I began to get the following error:

zsh: command not found: http

I tried the usual technique of uninstalling and reinstalling.

brew uninstall httpie

And then:

brew install httpie

But this did not work either.

Same error.

The solution is to re-link.

brew link httpie

This will print the following:

Linking /opt/homebrew/Cellar/httpie/3.2.4_2... 8 symlinks created

If we now try the command:

httpie

TLDR

Re-linking can be used to fix some Homebrew issues.

Happy hacking!