Skip to content

Instantly share code, notes, and snippets.

@koriym
Created July 25, 2022 00:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koriym/ef7917bd606a87052059100e062df2b9 to your computer and use it in GitHub Desktop.
Save koriym/ef7917bd606a87052059100e062df2b9 to your computer and use it in GitHub Desktop.
Fast Brew PHP version switching
# 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