Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.