I'm installing a set of softwares/packages/formulas via homebrew with command like
brew install <formula1> ... brew cask install <formula2> ...
I wonder if it's a good idea to verify if the softwares
<formula2>, ... are already installed and only trigger the above commands for the ones NOT already installed. If so, how?