Brew install in Mac Apple Silicon

Dec 29, 2020


  • Your default sh profile is ~/.zshrc
  • You have Rosetta 2

Easy, you just use

arch -x86_64 $@

as a prefix, for example, in case of brew

arch -x86_64 $@ /bin/bash -c "$(curl -fsSL"

Done !!


to install Valet for PHP Laravel use.

test -d ~/.composer && bash ~/.composer/vendor/bin/valet install || bash ~/.config/composer/vendor/bin/valet install

In order to install the Valet, you should install nginx , php@X.Y (in this case php@7.3) and use brew to create symlink.