/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
If Xcode is not installed, you'll be prompted to install it. Go.
brew update
brew install git
brew install php
See (Here)[https://getcomposer.org/download/] Basically 4 lines, at time of creation of this are:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'e5325b19b381bfd88ce90a5ddb7823406b2a38cff6bb704b0acc289a09c8128d4a8ce2bbafcd1fcbdc38666422fe2806') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
mv composer.phar /usr/local/bin/composer
Make sure to include composer into your path either ~/.bash_profile
or ~/.zhc..
. That will probably look something like this:
nano ~/.bash_profile
export PATH="$HOME/.composer/vendor/bin:$PATH"
and save the file. Either source it, or close and re-open your terminal.
Test installation with composer --help
.
Install Laravel's Valet, this is quick and painless setup. See for (reference)[https://laravel.com/docs/7.x/valet]
composer global require laravel/valet
valet install
brew install [email protected]
brew services start [email protected]
Node
brew install node
And that's it. A basic env setup painless and quickly. Intended for personal and team's use mostly.