brew unlink php@7.4 brew link php@7.3
$ brew unlink php@7.4 $ brew link php@8.0 --force --overwrite
# First, make sure your .zshrc file does not point to a particular version # then, brew unlink php@8.2 brew link php@5.6