Search code examples
homebrewmacports

MacPorts and HomeBrew: Can I install multiple packages from a file or list?


Surprised I couldn't find much information about this. I'm trying to create a list/file of all the ports and recipes I have installed and repopulate them on another Macbook. Is this possible without too much fuss?

ie. python pip has a feature where you can install from a requirements file that lists all the packages and their versions you want. pip install -r requirementsfile.


Solution

  • You can use a brewfile with Homebrew.