I have a stupid question. Is there a dogmatic way of listing installed things and sharing that with other brew?
For example, I now list with brew list into a file and edit the file so that whole list is a big brew install. That way if I reinstall OS or go to another I can have same things.
You can use brew-bundle for that. https://github.com/Homebrew/homebrew-bundle
On one machine:
brew bundle dump
On another machine: brew bundle