Last active
April 21, 2020 06:20
-
-
Save SurajAdsul/964077a7879f4b74df6bb10410e4dc02 to your computer and use it in GitHub Desktop.
Laravel Valet Uninstall and then Reinstall everytime I switch user accounts
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
## Uninstall process | |
#remove valet | |
rm -rf ~/.valet | |
rm /usr/local/bin/valet | |
# change the permisions on all brew files | |
sudo chown -R $(whoami) $(brew --prefix)/* | |
# now uninstall all brew packages | |
brew uninstall dnsmasq && brew uninstall nginx && brew uninstall php | |
# clean up - removes logs and cached | |
brew cleanup | |
## Install Process | |
brew tap | |
brew update | |
brew install [email protected] | |
composer global require laravel/valet | |
// Issues faced: need to add the composer path | |
// Need to link the php with force | |
valet install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment