It is literally the method given to install a number of products. The first mechanism given as a fix, of sorts, is to install something via brew.
Brew is installed by copying a command line-
I mean, I guess you could retype it, but there is no intention for anyone to do that.
While true, then I'd just skip installing these products and find another way. And if this is the only way and the product is important (say, brew), make an exception.
I think Homebrew still makes a mess with permissions on multiuser systems (at least on macOS), so it's probably not a good example of best practices.