Skip to content

Instantly share code, notes, and snippets.

@ZucchiniZe
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save ZucchiniZe/9612824 to your computer and use it in GitHub Desktop.

Select an option

Save ZucchiniZe/9612824 to your computer and use it in GitHub Desktop.
set -e
echo "\033[1;32m"' _______ __ ____ __ ____ _____ _ __ '"\033[0m"
echo "\033[1;32m"' / ____(_) /_ / _/___ _____/ /_____ _/ / / / ___/__________(_)___ / /_'"\033[0m"
echo "\033[1;32m"' / / __/ / __/ / // __ \/ ___/ __/ __ `/ / / \__ \/ ___/ ___/ / __ \/ __/'"\033[0m"
echo "\033[1;32m"'/ /_/ / / /_ _/ // / / (__ ) /_/ /_/ / / / ___/ / /__/ / / / /_/ / /_ '"\033[0m"
echo "\033[1;32m"'\____/_/\__/ /___/_/ /_/____/\__/\__,_/_/_/ /____/\___/_/ /_/ .___/\__/ '"\033[0m"
echo "\033[1;32m"' /_/ '"\033[0m"
echo "\033[0;33mInstalling Homebrew.\033[0m"
if [ -d "/usr/local/Cellar" ];then
echo "\033[1;31mHomebrew installation detected, moving on\033[0m"
else
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
fi
echo "\033[0;33mSuccessfully Installed Homebrew.\033[0m"
echo "\033[0;33m \033[0m"
echo "\033[0;32mInstalling Git.\033[0m"
brew install git
echo "\033[0;32mSuccessfully Installed Git.\033[0m"
echo "\033[0;32m \033[0m"
echo "\033[0;36mLearn how to use Git here, http://try.github.io\033[0m"
echo "\033[0:33m \033[0m"
echo "\033[1;31mRemember You need to have a GitHub Account for this to work.\033[0m"
echo "\033[1;31mIf you need any help ask either Mr.Pomeroy or Alex.\033[0m"

#How to install

Go to the terminal on you computer and copy and paste this line of code.

curl -L http://git.io/LEY77w | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment