Skip to content

Instantly share code, notes, and snippets.

@aronhoyer
Last active April 25, 2019 05:53
Show Gist options
  • Save aronhoyer/728e0b9166a37ee35f73e1ec54077f86 to your computer and use it in GitHub Desktop.
Save aronhoyer/728e0b9166a37ee35f73e1ec54077f86 to your computer and use it in GitHub Desktop.
Tools setup for macOS Mojave
# Install xcode command line tools
xcode-select --install
# Install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
# Install latest version of ZSH
brew install bash
sudo vim /etc/shells
# and append "/usr/local/bin/bash"
# Install Git
brew install git
# Install NVM
# Install nvm with curl
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
# Then install lts version
nvm install --lts
# Install VS Code
brew cask install visual-studio-code
# Install SublimeText
brew cask install sublime-text
# Install Postman
brew cask install postman
# Install Docker
brew install docker
brew cask install docker
# Install SQLPro Studio
brew cask install sqlpro-studio
# Install Chrome
brew cask install google-chrome
# Install Laravel Valet
brew install php
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
composer require global laravel/valet
echo "export PATH=$HOME/.composer/vendor/bin:$PATH" >> $HOME/.profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment