Workaround: `export HOME=~ ; export PATH=$PATH` in all brew commands