Skip to content

Instantly share code, notes, and snippets.

@kennethreitz
Last active July 31, 2017 05:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kennethreitz/49e6973cbcc441c060790dbf586b092e to your computer and use it in GitHub Desktop.
Save kennethreitz/49e6973cbcc441c060790dbf586b092e to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Install Xcode Command Line Tools.
xcode-select --install
# Install Homebrew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install brew basics (auto-updating).
brew install terminal-notifier
brew tap domt4/autoupdate
brew autoupdate --start --upgrade --cleanup --enable-notifications
# Install brew essentials.
brew install heroku
brew install git
brew install ack
# Install download utilities.
brew install youtube-dl
brew install wget
brew install httpie
# Install fancy shell setuff.
brew install fish
brew install grc
brew install direnv
brew install nnn
brew install thefuck
brew install autojump
brew install googler
brew install mas
# Install bash utilities.
brew install bats
brew install shellcheck
# Install Python utlitlies.
brew install python2
brew install python3
brew install pypy
brew install pypy3
brew install ipython
# Install pispi.
pip3 install pipsi
# Install pipenv.
pipsi install pew
pipsi install pipenv
# Install git utilities.
brew install git-open
pipsi install legit
brew install gist
# Make Python 3 system default.
rm -fr /usr/local/bin/python
ln -s /usr/local/bin/python3 /usr/local/bin/python
# Install Postgres (for psychopg2).
brew install postgres
# Install other languages.
brew install lua
brew install node
brew install ruby
# Install fun stuff.
brew install fortune
brew install cowsay
brew install sl
gem install lolcat
pipsi install em-keyboard
#!/usr/bin/env fish
# Update fish shell plugins.
fisher update
# Update hombrew.
brew update
brew upgrade
brew cleanup
# Update pipsi apps.
pipsi upgrade pew
pipsi upgrade pipenv
pipsi upgrade legit
pipsi upgrade em-keyboard
# Update Mac apps.
mas upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment