👩💻 Join our community of thousands of amazing developers!
I tried to keep my work stuff separate from my personal stuff on the same machine. I created two admin users, set up a group for homebrew and set the permissions accordingly. Sadly this didn’t work out in the long run. So I started to run Homebrew as my preferred admin user. if [ "$(whoami)" != "vknabel" ]; then sudo -S --login -u vknabel bash -- $(which brew) "$@" else brew "$@" fi This approach worked and was muich more reliable than the previous approach. Then came Flutter. I had to add add...