Skip to content

Instantly share code, notes, and snippets.

@pingwinator
Last active December 14, 2015 05:49
Show Gist options
  • Save pingwinator/5038571 to your computer and use it in GitHub Desktop.
Save pingwinator/5038571 to your computer and use it in GitHub Desktop.
1 - install last version for puppet (3.1.0) 2 - install xcode command line tools 3 - install homebrew usage bash -s < <(curl -s https://raw.github.com/gist/5038571/first_run.sh)
#!/usr/bin/env bash
bash -s 1.7.1 3.2.1 / < <(curl -s https://raw.github.com/gist/5672046/install_puppet_mac.sh)
bash -s < <(curl -s https://raw.github.com/gist/5038571/install_cli.sh)
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew doctor
#!/bin/bash
set -e
sudo echo "downloading and installing Command Line Tools"
curl -LO "http://192.168.100.8/xcode/xcode4.6/xcode46cltools_10_86938131a.dmg"
hdiutil attach xcode46cltools_10_86938131a.dmg
sudo installer -pkg "/Volumes/Command Line Tools (Mountain Lion)/Command Line Tools (Mountain Lion).mpkg" -target /
hdiutil detach "/Volumes/Command Line Tools (Mountain Lion)"
echo "installed command line tools for mountain lion"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment