Last active
October 24, 2019 21:04
-
-
Save whatthetechdev/61f52ebcbd3d9d9a301b to your computer and use it in GitHub Desktop.
Mac OSX developer setup commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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