Skip to content

Instantly share code, notes, and snippets.

@benkutil
Last active May 27, 2017 16:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benkutil/8510c09a00e7e745ece337244c1f0f71 to your computer and use it in GitHub Desktop.
Save benkutil/8510c09a00e7e745ece337244c1f0f71 to your computer and use it in GitHub Desktop.
tap 'caskroom/cask'
tap 'caskroom/versions'
tap 'homebrew/bundle'
tap 'homebrew/core'
tap 'homebrew/services'
tap 'phrase/brewed'
tap 'thoughtbot/formulae'
brew 'readline'
brew 'augeas'
brew 'autoconf'
brew 'libgpg-error'
brew 'libassuan'
brew 'libgcrypt'
brew 'libksba'
brew 'pth'
brew 'dirmngr'
brew 'pinentry'
brew 'gpg-agent'
brew 'libusb'
brew 'libusb-compat'
brew 'gnupg2'
brew 'blackbox'
brew 'boost'
brew 'emacs'
brew 'cask'
brew 'dialog'
brew 'openssl@1.1'
brew 'certbot'
brew 'fasd'
brew 'pcre2'
brew 'fish'
brew 'git'
brew 'lua'
brew 'highlight'
brew 'hub'
brew 'icu4c'
brew 'openssl'
brew 'libevent'
brew 'libxml2'
brew 'makedepend'
brew 'node'
brew 'pinentry-mac'
brew 'pkg-config'
brew 'postgresql', restart_service: true
brew 'ruby-build'
brew 'rbenv'
brew 'rbenv-bundler'
brew 'rbenv-gemset'
brew 'reattach-to-user-namespace'
brew 'screenfetch'
brew 'tmux'
brew 'v8'
brew 'phrase/brewed/phraseapp'
brew 'thoughtbot/formulae/rcm'
cask 'alfred'
cask 'amazon-chime'
cask 'backblaze'
cask 'bartender'
cask 'betterzipql'
cask 'choosy'
cask 'cloak'
cask 'daisydisk'
cask 'firefox'
cask 'gas-mask'
cask 'google-chrome'
cask 'google-chrome-canary'
cask 'google-drive'
cask 'hazel'
cask 'hipchat'
cask 'imagealpha'
cask 'imageoptim'
cask 'integrity'
cask 'istat-menus'
cask 'iterm2'
cask 'joinme'
cask 'kaleidoscope'
cask 'keka'
cask 'keybase'
cask 'licecap'
cask 'multifirefox'
cask 'omniplan'
cask 'onyx'
cask 'paw'
cask 'qlcolorcode'
cask 'qlimagesize'
cask 'qlmarkdown'
cask 'qlprettypatch'
cask 'qlstephen'
cask 'qlvideo'
cask 'quicklook-csv'
cask 'quicklook-json'
cask 'quicklookase'
cask 'rowanj-gitx'
cask 'screenhero'
cask 'scrutiny'
cask 'sequel-pro'
cask 'sketch'
cask 'sketch-beta'
cask 'sublime-text'
cask 'suspicious-package'
cask 'taskpaper'
cask 'transmission'
cask 'transmit'
cask 'viscosity'
cask 'webpquicklook'

Setting up a new Mac

Run Mac setup

  • setup user account
  • do not setup file vault at this time

Set Host/Computer name

sudo scutil --set HostName your_computer_name
sudo scutil --set ComputerName your_computer_name
sudo scutil —set LocalHostName your_computer_name

Setup Filevault

Follow Dr. Duh guide

Setup Firewall

Follow Dr. Duh guide

Setup environment

Install xcode

xcode-select --install

Install Homebrew and base apps

Install homebrew in local folder, under ~/.homebrew

mkdir ~/.homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C ~/.homebrew
echo 'PATH=$PATH:~/homebrew/sbin:~/homebrew/bin' >> .zshrc
chsh -s zsh
brew update
brew upgrade
brew tap Homebrew/bundle
brew install bundle
brew bundle --file=path/to/Brewfile

Setup fish shell

sudo echo /Users/ktb/.homebrew/bin/fish >> /etc/shells
chsh -s ~/.homebrew/bin/fish

Setup Fish Path to home-brew

set fish_user_path $fish_user_path /Users/ktb/.homebrew/bin

Install Oh-my-fish

  • omf install foreign-env
  • omf install ocean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment