Skip to content

Instantly share code, notes, and snippets.

@atiqsu
Created June 16, 2023 05:08
Show Gist options
  • Save atiqsu/72442efeb6ff5fe757a8f76f3538b0c3 to your computer and use it in GitHub Desktop.
Save atiqsu/72442efeb6ff5fe757a8f76f3538b0c3 to your computer and use it in GitHub Desktop.
Valet install in Macbook / iMac
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