Export/Reinstall your installed program list via homebrew
Apr 29, 2023
These days I needed to clean the mac and I was thinking wow, how lazy to reinstall programs again. Then I researched and did the procedure here for anyone who is thinking the same thing as me.
This post is very short but it is very essential for anyone who wants to reinstall their mac. And configure all homebrew packages
Open the terminal and type
brew list
This command will list all installed packages
To export the list type:
brew list > brew_programs_list.txt
Reinstall — Open your terminal
xargs brew install < brew_programs_list.txt
Hope you like it….