Created
July 25, 2022 00:15
-
-
Save koriym/ef7917bd606a87052059100e062df2b9 to your computer and use it in GitHub Desktop.
Fast Brew PHP version switching
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# usage: . ~/.phpv php_version | |
export PATH="/opt/homebrew/opt/php@$1/bin/:$PATH"; php -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment