How to Install and use Homebrew on Mac

Опубликовано: 17 Октябрь 2024
на канале: BrainTrust Digital
2,541
40

Do you want to learn how to install and use Homebrew on Mac? Stick around to find out more. Homebrew is a package manager for your system. If you have never heard of package manager, this is just software automates the way you install, update, configure and remove software. You can visit the Homebrew website at https://brew.sh/

To Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Hom...)"

Command to fix Cask Issue
/usr/bin/find "$(brew --prefix)/Caskroom/"*'/.metadata' -type f -name '*.rb' -print0 | /usr/bin/xargs -0 /usr/bin/perl -i -pe 's/depends_on macos: \[.*?\]//gsm;s/depends_on macos: .*//g'

To make sure your packages or formula are up to date run
brew update
Check for outdated formula with
brew outdated
Upgrade a specific formula with
brew upgrade git
Or upgrade everything with
brew upgrade
Find or resolve problems with
brew doctor
Clean up old formula
brew cleanup

⏰ Timestamps
0:00 Introduction
1:07 Getting Started
1:25 Install
1:50 Basic Usage
3:04 Packages and Casks
3:18 Surprise from my coworker
3:53 Cask error fix
4:18 Cask usage
5:23 Doctor and Cleanup
6:07 Closing notes

AWS + Rails Series Playlist
   • AWS + Rails  

My Gear List
http://brain-trust.io/my-gear

My YouTube SEO Software
https://www.tubebuddy.com/braintrust

Make sure you subscribe to my channel to keep up to date with new content!

DISCLAIMER: Links in this description include affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you! Thank you for supporting BrainTrust Digital so I can continue to provide you with free content each week!