Skip to content

Instantly share code, notes, and snippets.

@csinghdev
Created April 6, 2020 17:26
Show Gist options
  • Save csinghdev/a6547a7fb0ecab0e25f6b9cc8864564f to your computer and use it in GitHub Desktop.
Save csinghdev/a6547a7fb0ecab0e25f6b9cc8864564f to your computer and use it in GitHub Desktop.
#!/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