Created
June 16, 2023 05:08
-
-
Save atiqsu/72442efeb6ff5fe757a8f76f3538b0c3 to your computer and use it in GitHub Desktop.
Valet install in Macbook / iMac
This file contains 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
1. Check if brew installed > brew -v | |
1.1 if not installed then install it first from https://brew.sh/ | |
2. Install php > brew install php ; php --version | |
3. Install mysql > brew install mysql | |
4. Install composer > brew install composer ; composer -V | |
4.1 If exceptions happen run > sudo mv composer.phar /usr/local/bin/composer | |
5. Install valet > composer global require laravel/valet | |
6. > valet install | |
6.1 Exception valet not found > echo PATH=$PATH:~/.composer/vendor/bin | |
7. Open terminal and goto your desired directory > valet park | |
8. Optional if you want to run ssl locally > valet secure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment