Last active
June 22, 2017 14:57
-
-
Save kamermanpr/edb6507977a448590f66afd740139cbe to your computer and use it in GitHub Desktop.
Install xcode tools, homebrew, and git
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
#!/bin/bash | |
# I use this script after a clean install of macOS to re-install homebrew, git, and xcode tools. | |
## Install xcode tools | |
xcode-select --install | |
## Install homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
## Update brew and install git | |
brew update | |
brew install git | |
## Configure git (edit as required) | |
git config --global user.name "Your Name" | |
git config --global user.email "[email protected]" | |
git config --global credential.helper osxkeychain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment