bash <(curl -fsSL https://raw.githubusercontent.com/valet-sh/install/master/install.sh)
At the moment valet.sh on Apple m1 requires rosetta2:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
bash <(curl -fsSL https://raw.githubusercontent.com/valet-sh/install/master/install.sh)
Unfortunately there is no process to uninstall valet.sh automaically at the moment.