Skip to content

Ensuring that Your Mac Has the Latest Software: A Terminal User's Guide.

Toberumono edited this page Sep 5, 2015 · 1 revision

Title aside, this is really just a collection of commands that I run on any new Mac OSX installation.

#Before Starting

  1. Follow my guide for upgrading Bash to the latest version, here: https://github.com/Toberumono/Miscellaneous/wiki/Installing-Bash-4.3-on-Mac-OSX. This will ensure that you have the basic software all set, and will ensure compatibility with all of the commands in this guide.

#The Actual Guide

##A Few Quick Notes

  1. These all assume that your main shell is Bash
  2. This guide is broken up into sections so that you can better pick which pieces you want.
  3. Other than the Common section, all of the sections are optional and independent of each other.

##Common

  1. Run: brew install wget

##Programming

###Utilities

  1. Run: brew install git git-flow

  2. Install and link GCC. Run:

    bash <(wget -qO - "https://raw.githubusercontent.com/Toberumono/Miscellaneous/master/common/brew_gcc.sh")
  3. If you want colors in terminal, run:

    (echo "" && echo 'export CLICOLOR=1') >> ~/.bash_profile
  4. If you have Sublime Text 2 and want to be able to open files in it from Bash, run:

    (echo "" && echo 'alias sublime="/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl"') >> ~/.bash_profile

##Fixes

###Bluetooth

  1. See this page: https://github.com/Toberumono/Miscellaneous/wiki/Fixing-Bluetooth-Audio-on-OSX