Last active
January 18, 2018 03:58
-
-
Save nowendwell/d0a423628303e48672d4d142b9150a85 to your computer and use it in GitHub Desktop.
New Computer Setup (macOS)
This file contains hidden or 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
#!/usr/bin/env bash | |
# Composer | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { 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 | |
# Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Laravel Valet | |
brew install php71 | |
# may need to run if getting sbin error | |
# sudo chown -R $(whoami) $(brew --prefix) | |
brew services start mysql | |
composer global require laravel/valet | |
valet install | |
# Mailhog | |
brew install mailhog | |
brew services start mailhog | |
# Useful libraries | |
brew install wget | |
brew install mysql | |
# Dependencies | |
xcode-select --install | |
# THESE NEED TO BE DOWNLOADED MANUALLY | |
# WTF? Right? | |
# Chrome (duh) - https://www.google.com/chrome/browser/desktop/index.html | |
# Atom - https://atom.io/download/mac | |
# Sequel Pro - https://sequelpro.com/download#auto-start | |
# SourceTree - https://www.sourcetreeapp.com/ | |
# AppCleaner - https://freemacsoft.net/appcleaner/ | |
# Spectacle - https://www.spectacleapp.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment