Skip to content

Instantly share code, notes, and snippets.

@whatthetechdev
Last active October 24, 2019 21:04
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 whatthetechdev/61f52ebcbd3d9d9a301b to your computer and use it in GitHub Desktop.
Save whatthetechdev/61f52ebcbd3d9d9a301b to your computer and use it in GitHub Desktop.
Mac OSX developer setup commands
# start by installing xcode via apple app store as it takes a year!
# also install xcode-select
xcode-select --install
# install git via http://git-scm.com/downloads
# install node via https://nodejs.org/en/download/
# install brew (required for zsh) - note: this relies on on xcode
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# install zsh via http://ohmyz.sh/
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# update finder to show hidden files then restart
defaults write com.apple.finder AppleShowAllFiles YES
# update dot files in line with https://github.com/ezmionline/dot-files
# install iterm2 via https://www.iterm2.com/
# run npm permission fix
# sudo chown -R `whoami` /usr/local
# update npm
sudo npm install -g npm
# install common packages
npm install -g node-gyp
# install some additional packages
npm install -g browser-sync
npm install -g browserify
npm install -g ejs
npm install -g react-tools
npm install -g yo
npm install -g @vue/cli
# install mongo
# brew install mongodb
brew install yarn
# install powerline fonts for terminal
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment