Up to you.  Personally, I appreciate docs that save me an extra step.  I can change the wording to be less assuming, e.g. "if you are on a Mac you can install via homebrew: ..."