Instantly share code, notes, and snippets.
Save jpantuso/1110217 to your computer and use it in GitHub Desktop.
These commands are good as of 2011-07-27.
App storehttp://itunes.apple.com/us/app/xcode/id448457090?mt=12)The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
iTerm2http://www.iterm2.com/
Really the nicest choice for a terminal on OSX right now, especially with Lion style full screen support.
Solarized color schemehttp://ethanschoonover.com/solarized
I feel there is an advantage in setting all your dev apps to use a consistent color scheme, especially your terminal and text editor/dev environment.
Homebrewhttp://mxcl.github.com/homebrew/
ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
Note that Xcode is a pre-req for Homebrew
brew install wgetwget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
restart iTerm2
brew install git
http://help.github.com/mac-set-up-git/
Copy over your SSH Keys from your existing machine if you have them and want to carry over your existing SSH configs.
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
Start new shell session
rvm install 1.9.2rvm install 1.8.7rvm notes
See if there is anything in the rvm notes you need to take action on. As of this writing the compiler needs to be overridden.Create a .gemrc file and add the linegem: --no-ri --no-rdoc
rvm --default 1.8.7rvmsudo gem install bundlerrvmsudo gem install rails
curl get.pow.cx | sh
Get a DMG based and pre-compiled install fromhttp://www.mysql.com/downloads/mysql/
juanpabloaj commentedAug 1, 2011
you don't install zsh directly from git repository ?
git clone git://zsh.git.sf.net/gitroot/zsh/zsh
igreg commentedAug 1, 2011
You can also decide to install mysql via brew, which is relatively painless and is easier to maintain than a DMG/.pkg
igreg commentedAug 1, 2011
ZSH is already installed on mac os x, do you see benefits from installing a custom one?
juanpabloaj commentedAug 1, 2011
I installbrew
, is great!!
thanks
I have a preference for installing things from binaries and installers when possible. Even for developer tools. This is a principle for me, that things should be designed to be as simple and repeatable as possible. Repeatability is the most important aspect for development process. The habit of building everything from source has deep root in Unix world that we can't change, but on the Mac it is not necessary and I would argue adds time and complexity that thousands of people have to endure. If you consider total load of time and effort on the human race, as you always must do when building something many people will consume, you should come down on the easy and fast side.
alexschomb commentedFeb 15, 2012
RVM installing changed to:bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Also having issues to install Ruby 1.9.3 caused by problems with gcc. Here's a solution:rvm install 1.9.3 --with-gcc=clang
fromhttp://stackoverflow.com/questions/8032824/cant-install-ruby-under-lion-with-rvm-gcc-issues
calvinte commentedMar 29, 2012
Thanks!
benjohnson77 commentedMay 27, 2012
Homebrew command did not work for me on a fresh install of lion, but going to the mxcl's page to get the latest install command worked great!
/usr/bin/ruby -e "$(/usr/bin/curl -fsSLhttps://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
benjohnson77 commentedMay 28, 2012
same with RVM command here did not work, but going to RVM site and following commands there worked great.
Hydraner commentedAug 14, 2012
Homebrew changed location:
ruby <(curl -fsSkhttps://raw.github.com/mxcl/homebrew/go)
qtpi commentedFeb 12, 2013
I've updated some information that makes this gist broken. You can find it all in this fork:https://gist.github.com/brandito/4773593
jupinj commentedApr 22, 2013
benjohnsonn77 -> hey, do you know how I can get that build - I'm having the same problem with my LionServer box - homebrew won't run. I can't ge that build from github - always returns a 404 -suggestions?
rictorres commentedJul 7, 2013
nice work, mate! thanks
yaauie commentedApr 23, 2014
suggesting a wget piped to sh with the--no-check-certificate
flag is terribly irresponsible.