New Machine? Tons of pkg files to install? No problem

Hi All,

I recently upgraded machines and I refuse to use those 3rd party plugin manager sites. So that means manual installs? Not exactly.

For example. I downloaded all my BA tools, including the freebees. If you crack open the terminal, and run save the below code as “installer.sh”:

for f in *.pkg; do
sudo installer -verbose -pkg “$f” -target /
done

This will loop for number of files in a certain directory that end in .pkg and install, all you need to is authenticate once :) (And don’t worry, whatever the packages default locations will be honored when using this process)

Hope this helps! Enjoy!

-g

4 Likes