Skip to content

Instantly share code, notes, and snippets.

@leymannx
Last active June 4, 2018 20:56
Show Gist options
  • Save leymannx/007734008003ec14232c6467d93e1151 to your computer and use it in GitHub Desktop.
Save leymannx/007734008003ec14232c6467d93e1151 to your computer and use it in GitHub Desktop.

macOS (High Sierra) Local Development Environment Checklist

System Preferences > Security & Privacy > Firewall > On

Apps

Show hidden files

defaults write -g AppleShowAllFiles -bool true

.bash_profile

ln -s ~/Dropbox/.bash_profile ~/.bash_profile

source ~/.bash_profile

.ssh

mv ~/Dropbox/.ssh ~/.ssh

chmod -R 700 ~/.ssh

chmod 600 ~/.ssh/id_rsa

ln -s ~/Dropbox/config ~/.ssh/config

(ssh-keygen -t rsa -b 4096)

Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Git

brew install git

Composer

brew install composer

composer global require hirak/prestissimo

ln -s ~/Dropbox/auth.json ~/.composer/auth.json

npm

brew install node

npm install gulp --global

npm install npm@next --global

npm install npm-cache-install --global

MAMP Pro

https://www.mamp.info/en/downloads/

sudo mkdir /var/mysql

sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock

sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql

Drush Launcher

(https://github.com/drush-ops/drush-launcher/releases/latest)

curl -OL https://github.com/drush-ops/drush-launcher/releases/download/0.5.1/drush.phar

chmod +x drush.phar

sudo mv drush.phar /usr/local/bin/drush

Drush 8

(https://github.com/drush-ops/drush/releases)

sudo git clone https://github.com/drush-ops/drush.git /usr/local/src/drush8

cd /usr/local/src/drush8

sudo git checkout 8.1.16

sudo ln -s /usr/local/src/drush8/drush /usr/local/bin/drush8

sudo composer install

asdf-vm

@see https://github.com/asdf-vm/asdf

pip

sudo easy_install pip

Resize launchpad icons

defaults write com.apple.dock springboard-columns -int 8

defaults write com.apple.dock springboard-rows -int 6

killall Dock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment