But other users might not, and you wrote that as a reply to someone asking how to do it. My comment was meant to warn others they should not go that route, especially when there’s an official uninstallation script (linked in my other comment).
> Why do you say it’s wrong on Apple Silicon?
Because in that case Homebrew installs to /opt/homebrew, not /usr/local.
Why do you say it’s wrong on Apple Silicon? If you mean system integrity protection stuff, I don’t think it applies to /usr/local