I got a new Macbook Pro and restored from the backup, all of my packages are in still there and the path is still correct, but when I type a command that was installed on the previous system it returns an error. Take for example pstree
pstree
-bash: pstree: command not found
Someone elsewhere on the internet suggested reinstalling them, but I have way too many packages installed to go thru them one at a time.
The computer is running Mavericks. I used migration assistant to restore from a time machine backup and brew doctor
says my system is ready to brew.
brew doctor
to make sure your path and the install is clean? You shouldn't need to reinstall the packages - but you might need to explain how you made a backup and how you restored it.ls /usr/local/bin
andls /usr/local/Cellar
? You should easily be able to see if your brew packages were copied.