If you have a Apple Silicon Macs, anywhere that says /usr/local should be replaced with /opt/homebrew.
This is not meant for a production environment, a system holding sensitive information, or anything else of the sort. This is meant for development environments only, and makes some security tradeoffs for simple development.