Homebrew is the package manager you wish your Mac shipped with. Once you set it up, Homebrew lets you install and update apps quickly and securely. It launched as a command-line interface, where you would type commands into the Terminal app on your Mac to install, update, or uninstall your apps. Recently, Homebrew launched its own GUI, which makes it easier than ever to use the service. Here are 10 Homebrew hacks that you should know, great for new and legacy users alike.
Try Homebrew's new GUI to discover apps
Credit: Pranay ParabHomebrew has a "doctor" feature that lets you fix issues with the service. This can be anything from unsupported or deprecated apps, to issues with the Homebrew configuration itself. You can run this from the "Doctor" tab in the Homebrew GUI, or use the following command via Terminal:
The service will recommend some fixes, and you can run the suggested command in Terminal to solve the problem.
Use the -q suffix to keep Terminal free of clutter
brew install firefox -q
This will minimize the number of text updates on-screen, and leave you with a much cleaner Terminal. If you'd like to see more updates, you can replace "-q" with "-v" at the end of the command.
Try the "list" command to view all installed apps via Terminal
Credit: Pranay Parabbrew list
brew install cask adopt APPNAME
Use the cleanup command to free up storage space
When you install a lot of apps via Homebrew, it tends to create some clutter. Old versions of apps and cached downloads aren't always deleted immediately. If you're running short on space, you can try the following cleanup command to free up space without deleting apps:
This is one of the best features in Homebrew, and it works best right after a new version of macOS is released. This is when a flurry of app updates arrives to support the new operating system, and you can try this command to update all Homebrew apps in one go:
In case you just want to see which apps need an update, you can try this command:
The upgrade command is also listed under the "Upgrades" tab in the Homebrew GUI.
Use "dry run" to check which packages will be installed or updated
brew install APPNAME --dry-run
brew alias i='install'
brew alias
brew unalias i
Use this command to stop specific apps from updating
If you don't want to update to the newest versions of certain apps, you can use the "pin" command to stop updates, and then "unpin" when you are ready to update again. This can be useful when an app you trust gets acquired by new owners who have yet to prove themselves, or if it adds new features you don't want, etc. Here's how to use it:
When you're ready to update it again, try this:
Note that you may also have to disable auto-updates from the app's interface separately because some apps just update themselves without confirmation.
Hence then, the article about 10 homebrew hacks every mac power user should know was published today ( ) and is available on Live Hacker ( Middle East ) The editorial team at PressBee has edited and verified it, and it may have been modified, fully republished, or quoted. You can read and follow the updates of this news or article from its original source.
Read More Details
Finally We wish PressBee provided you with enough information of ( 10 'Homebrew' Hacks Every Mac Power User Should Know )
Also on site :
- HDFC Bank Limited Sued for Securities Law Violations - Contact the DJS Law Group to Discuss Your Rights - HDB
- Quote Of The Day By Benedict Cumberbatch: 'Everything Is Not Necessarily In Decay, But Change Is Constant...'
- Quote of the Day: Cleanthes Worked Night Shifts as a Water Carrier to Study Philosophy by Day. Then He Took Over Ancient Greece’s Leading Stoic School