-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back brew install script to install pyenv
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
# Installs Homebrew and some of the common dependencies needed/desired for software development | ||
|
||
# Ask for the administrator password upfront | ||
sudo -v | ||
|
||
# Check for Homebrew and install it if missing | ||
if test ! $(which brew) | ||
then | ||
echo "Installing Homebrew..." | ||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
fi | ||
|
||
# Make sure we’re using the latest Homebrew | ||
brew update | ||
|
||
# Install the Homebrew packages I use on a day-to-day basis. | ||
apps=( | ||
pyenv | ||
) | ||
|
||
echo "Installing Brew apps" | ||
for i in "${apps[@]}"; do | ||
echo "Installing $i" | ||
brew install "$i" | ||
done | ||
|
||
# Remove outdated versions from the cellar | ||
brew cleanup |