[...] Homebrew or MacPorts [...] (their official notation)

And `chmod` should also be surounded by double backticks.