So, I have a bit of a problem. I’ve done the following:
"brew list > “~/Documents/brewInstalledList.txt”
My idea was that if I reformat my Mac or get a new system, I can very quickly get all my packages back, by simply running
“cat [file] | brew install”
However, this doesn’t work. Brew complains it’s not receiving formulas as input. I know brew install can take more than one package per call, so why can’t it parse them from cat?
And are there any workarounds?