brew install php@7.4 : ( Install php 7.4 ) brew link --overwrite --force php@7.4 (override previous version) now check php -v