Skip to content

Instantly share code, notes, and snippets.

@fxchen
Created September 24, 2018 22:12
Show Gist options
  • Save fxchen/9c5c950b6c9117930fa2aff804e7856b to your computer and use it in GitHub Desktop.
Save fxchen/9c5c950b6c9117930fa2aff804e7856b to your computer and use it in GitHub Desktop.
New Mac Setup
# Typically I write this to an install.sh and let it run
# Accept XCode License / install dev tools
sudo xcode-select --install
sudo xcrun cc
sudo xcodebuild -license accept
# Install package manager
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Allow dev/beta versions; fonts
brew tap caskroom/versions
brew tap caskroom/fonts
# Install homebrew packages
brew install \
ack \
brightness \
colordiff \
coreutils \
diff-so-fancy \
docker \
findutils --with-default-names \
git \
go \
grc \
ical-buddy \
jq \
mackup \
node \
python \
python3 \
rename \
ssh-copy-id \
wget \
zsh-syntax-highlighting
# Java
brew cask install java8;
# Python
#### This may require some chowning of the Cellar / Homebrew dirs due to a bug
brew postinstall python3;
pip3 install requests six;
# Node
#### Node module debugging if needed
#### sudo chown -R $(whoami) /usr/local/lib/node_modules/
export NODE_TLS_REJECT_UNAUTHORIZED=0
# Hass.io
## brew install docker scout
## Testing
## curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash
# Other
brew cask install --appdir="/Applications" \
1password \
alfred \
atext \
bartender \
bettertouchtool \
caffeine \
citrix-receiver \
dash \
disk-drill \
dropbox \
dropzone \
evernote \
flux \
fantastical \
google-chrome \
google-drive \
intellij-receiver \
iterm2-beta \
kindle \
marked \
quip \
rescuetime \
skitch \
slack \
spectacle \
sourcetree \
skype \
sublime-text-dev \
vlc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment