I go back and forth on this. My thinking is I don't like recommending running commands with root privs. It might not be necessary for some users. In some cases it might not desirable or have the intended consequence.  For example Homebrew installs into the users space, running as sudo would target the system Python. I think users should decide when to run commands as root, but that could be a poor assumption.