Install Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Add the following lines to the beginning of /etc/paths
:
/usr/local/sbin
/usr/local/bin
Install Z shell:
brew install zsh
Install Oh-My-Zsh:
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
Edit ~/.zshrc
:
# ...
plugins=(brew osx)
# ...
alias bu='brew update && brew upgrade && brew cleanup -s && brew prune'
alias reset-launchpad='defaults write com.apple.dock ResetLaunchPad -bool true && killall Dock'
alias purge-ds-store='sudo find / -name .DS_Store -delete && killall Finder'
Add the following line to the end of /etc/shells
:
/usr/local/bin/zsh
Change your shell:
chsh -s /usr/local/bin/zsh
Install git:
brew install git
Download and install Visual Studio Code.
Install Python:
brew install python3
or if you absolutely need to use the old Python 2:
brew install python
Install Node.js:
brew install node
Install Yarn:
brew install yarn