Created
April 6, 2020 17:26
-
-
Save csinghdev/a6547a7fb0ecab0e25f6b9cc8864564f to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Execute the commands below to install composer on ubuntu | |
# Update brew | |
brew update | |
# Install latest version of php | |
brew install php | |
# Start php service | |
brew services start php | |
# Install composer | |
brew install composer | |
# Install composer using valet | |
composer global require laravel/valet | |
# Set ~/.composer/vendor/bin directory in your system's "PATH" | |
export PATH="$PATH:$HOME/.composer/vendor/bin" | |
# Install valet | |
valet install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment