Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to save my favourite application in a textfile and then install all of them using homebrew later.

How can I do this ?

share|improve this question
up vote 2 down vote accepted

This will be a synthesis of three things:

  1. Making a homebrew formula that will dump the Applications you care about into the homebrew location. This will require some ruby knowledge and a short read of the homebrew wiki.
  2. Making a script to copy/shove/move the files from the homebrew location to /Applications or ~/Applications or an alternate destination with administrator permissions
  3. Learning enough about git to grab the tools. You likely won't be able to merge your "formula" with the homebrew repository since it's against their policy to re-distribute software you don't possess the permission (rights) for software code publication.

If you want to do this as a learning exercise, have a great time learning. There are far better tools to package OS X binaries like Package Maker, JAMF's Composer, or Iceberg.

If you were uncertain if homebrew was your best option, I'd start with Iceberg and a tutorial like this to handle the permissions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.