title
Homebrew Tutorial: Simplify Software Installation on Mac Using This Package Manager

description
In this video, we'll be learning how to use the Homebrew Package Manager on MacOS. Brew allows us to easily install command-line tools with a simple command. We can also install native applications for Mac using Brew Cask. I often use these commands in scripts to install a lot of new software quickly and easily on new machines. Let's get started... Homebrew Homepage - https://brew.sh/ Homebrew Formulas - https://formulae.brew.sh/formula/ Homebrew FAQ - https://docs.brew.sh/FAQ ✅ Support My Channel Through Patreon: https://www.patreon.com/coreyms ✅ Become a Channel Member: https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join ✅ One-Time Contribution Through PayPal: https://goo.gl/649HFY ✅ Cryptocurrency Donations: Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3 Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33 Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot ✅ Corey's Public Amazon Wishlist http://a.co/inIyro1 ✅ Equipment I Use and Books I Recommend: https://www.amazon.com/shop/coreyschafer ▶️ You Can Find Me On: My Website - http://coreyms.com/ My Second Channel - https://www.youtube.com/c/coreymschafer Facebook - https://www.facebook.com/CoreyMSchafer Twitter - https://twitter.com/CoreyMSchafer Instagram - https://www.instagram.com/coreymschafer/ #Homebrew #Brew #Mac

detail
{'title': 'Homebrew Tutorial: Simplify Software Installation on Mac Using This Package Manager', 'heatmap': [{'end': 73.562, 'start': 43.57, 'weight': 0.7}, {'end': 169.688, 'start': 95.527, 'weight': 0.864}, {'end': 351.865, 'start': 329.258, 'weight': 0.735}, {'end': 926.677, 'start': 912.627, 'weight': 0.746}], 'summary': 'Learn how to simplify software installation on mac using homebrew, a package manager, covering basics, package management, and installing gnu tools, resulting in efficient and automated software setup.', 'chapters': [{'end': 119.204, 'segs': [{'end': 73.562, 'src': 'heatmap', 'start': 0.229, 'weight': 0, 'content': [{'end': 6.014, 'text': "Hey there, how's it going everybody? In this video, we're going to be learning how to install and use Homebrew on the Mac operating system.", 'start': 0.229, 'duration': 5.785}, {'end': 8.796, 'text': 'So Homebrew is a package manager for Mac.', 'start': 6.394, 'duration': 2.402}, {'end': 12.439, 'text': 'So you can kind of think of it like apt or yum for Linux systems.', 'start': 9.116, 'duration': 3.323}, {'end': 17.803, 'text': "Or if you're more familiar with Python, then you can think of this as being the pip of the Mac operating system.", 'start': 12.839, 'duration': 4.964}, {'end': 23.925, 'text': 'now. this is going to allow us to install software using the command line in a nice and easy to use way,', 'start': 18.243, 'duration': 5.682}, {'end': 28.066, 'text': 'and I use this all the time for installing software or setting up new machines.', 'start': 23.925, 'duration': 4.141}, {'end': 38.029, 'text': "I actually just got a new MacBook the other day and I'm going to release a video soon after this one showing how I use homebrew to automate a large portion of the setup of a new development machine.", 'start': 28.066, 'duration': 9.963}, {'end': 42.09, 'text': "but in this video we're just going to learn the basics and how to use homebrew in general.", 'start': 38.029, 'duration': 4.061}, {'end': 43.57, 'text': "so let's go ahead and get started.", 'start': 42.09, 'duration': 1.48}, {'end': 50.912, 'text': 'so first of all, before we can install homebrew, we need to have some command line tools installed and we can install these easily through Xcode.', 'start': 43.57, 'duration': 7.342}, {'end': 60.535, 'text': 'so in an open terminal, you can install these by saying Xcode, dash select and then dash, dash install.', 'start': 50.912, 'duration': 9.623}, {'end': 63.616, 'text': "now I'm going to get an error here because I already have these installed.", 'start': 60.535, 'duration': 3.081}, {'end': 66.217, 'text': 'it says command line tools already installed.', 'start': 63.616, 'duration': 2.601}, {'end': 69.478, 'text': "so I've already done that, but you might need to do that if you haven't yet.", 'start': 66.217, 'duration': 3.261}, {'end': 73.562, 'text': 'but once we have those installed, we should be able to now install homebrew.', 'start': 69.858, 'duration': 3.704}], 'summary': 'Learn to install and use homebrew on mac for easy software management and setup automation.', 'duration': 60.306, 'max_score': 0.229, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU229.jpg'}], 'start': 0.229, 'title': 'Installing and using homebrew on mac', 'summary': 'Covers the basics of installing and using homebrew, a package manager for mac, including the process of installing command line tools through xcode and the installation of homebrew using a ruby command, essential for automating software setup on new development machines.', 'chapters': [{'end': 119.204, 'start': 0.229, 'title': 'Installing and using homebrew on mac', 'summary': 'Covers the basics of installing and using homebrew, a package manager for mac, including the process of installing command line tools through xcode and the installation of homebrew using a ruby command, essential for automating software setup on new development machines.', 'duration': 118.975, 'highlights': ['Homebrew is a package manager for Mac, allowing installation of software using the command line. Homebrew is highlighted as a package manager for Mac, enabling command line software installation.', 'The process of installing command line tools through Xcode is essential for installing Homebrew. Installing command line tools through Xcode is crucial for Homebrew installation.', 'The installation of Homebrew is done using a Ruby command, which automates the process. The installation of Homebrew is done through a Ruby command, streamlining the process.']}], 'duration': 118.975, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU229.jpg', 'highlights': ['Homebrew is a package manager for Mac, enabling command line software installation.', 'Installing command line tools through Xcode is crucial for Homebrew installation.', 'The installation of Homebrew is done through a Ruby command, streamlining the process.']}, {'end': 469.656, 'segs': [{'end': 158.882, 'src': 'embed', 'start': 119.744, 'weight': 3, 'content': [{'end': 124.746, 'text': "So I'm just going to let this install and I'm going to pick the video back up once this is complete.", 'start': 119.744, 'duration': 5.002}, {'end': 130.389, 'text': 'Okay, so that installation completed, we can see here that it says installation successful.', 'start': 125.846, 'duration': 4.543}, {'end': 134.251, 'text': "So if you didn't have any errors, then homebrew should have been installed correctly.", 'start': 130.709, 'duration': 3.542}, {'end': 138.613, 'text': 'So we can test this simply by running brew help.', 'start': 134.631, 'duration': 3.982}, {'end': 146.398, 'text': "And if that doesn't give us an error, and it actually shows us some brew commands here, then it means that that installation was successful.", 'start': 139.334, 'duration': 7.064}, {'end': 150.639, 'text': "Okay, so now let's go over a few things and see how we can use Homebrew.", 'start': 146.958, 'duration': 3.681}, {'end': 158.882, 'text': 'So first of all, if you want to list all of the packages that you can install with Homebrew, then we can simply say brew search.', 'start': 151.019, 'duration': 7.863}], 'summary': 'Successful installation of homebrew; confirmed by brew help command.', 'duration': 39.138, 'max_score': 119.744, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU119744.jpg'}, {'end': 199.911, 'src': 'embed', 'start': 176.873, 'weight': 5, 'content': [{'end': 184.079, 'text': 'you could simply say brew search and pipe that into word count, and then dash L will count the number of lines.', 'start': 176.873, 'duration': 7.206}, {'end': 191.004, 'text': 'so if I run that, then that should display the number of packages that were displayed with that brew search command.', 'start': 184.079, 'duration': 6.925}, {'end': 196.508, 'text': "now, if we wanted to narrow down those results and we don't want to look through all 4700 of those,", 'start': 191.004, 'duration': 5.504}, {'end': 199.911, 'text': 'then we could pass in a string to brew search as well.', 'start': 196.508, 'duration': 3.403}], 'summary': "Using 'brew search' and pipe, 'word count' and 'dash l' can help display the number of packages, such as 4700, and narrow down results.", 'duration': 23.038, 'max_score': 176.873, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU176873.jpg'}, {'end': 253.339, 'src': 'embed', 'start': 224.055, 'weight': 0, 'content': [{'end': 226.237, 'text': 'One of these is called formula.', 'start': 224.055, 'duration': 2.182}, {'end': 228.219, 'text': 'And the other here is cask.', 'start': 226.678, 'duration': 1.541}, {'end': 233.744, 'text': "We're going to talk more about the differences between those in just a bit and see some examples of both.", 'start': 229.12, 'duration': 4.624}, {'end': 237.927, 'text': 'But basically, formula typically deal with command line software.', 'start': 234.164, 'duration': 3.763}, {'end': 245.493, 'text': 'And Cask is an extension of Homebrew that allows us to install macOS native applications like Google Chrome and stuff like that.', 'start': 238.468, 'duration': 7.025}, {'end': 247.575, 'text': "And we'll see more of that in just a bit.", 'start': 245.873, 'duration': 1.702}, {'end': 250.257, 'text': "So that's how we can search packages using Brew.", 'start': 247.955, 'duration': 2.302}, {'end': 253.339, 'text': 'But you can also view this in the browser as well.', 'start': 250.597, 'duration': 2.742}], 'summary': 'Formula deals with command line software, cask installs macos native applications using homebrew.', 'duration': 29.284, 'max_score': 224.055, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU224055.jpg'}, {'end': 351.865, 'src': 'heatmap', 'start': 329.258, 'weight': 0.735, 'content': [{'end': 338.041, 'text': "so I'm going to change directory into my desktop And here on my desktop I have my Flask blog application from my Flask series.", 'start': 329.258, 'duration': 8.783}, {'end': 340.022, 'text': "So I'm going to run tree on that.", 'start': 338.341, 'duration': 1.681}, {'end': 343.623, 'text': "So I'll say tree and that's called Flask blog.", 'start': 340.262, 'duration': 3.361}, {'end': 351.865, 'text': "So I'm going to run that and we can see that it shows a nice directory structure of that project here within our command line.", 'start': 344.023, 'duration': 7.842}], 'summary': "Ran 'tree' command on flask blog app, displaying directory structure in command line.", 'duration': 22.607, 'max_score': 329.258, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU329258.jpg'}, {'end': 434.49, 'src': 'embed', 'start': 404.684, 'weight': 2, 'content': [{'end': 406.325, 'text': 'And then it installs it in there.', 'start': 404.684, 'duration': 1.641}, {'end': 414.07, 'text': 'So that is where Homebrew is installing these packages is within this user local directory.', 'start': 406.725, 'duration': 7.345}, {'end': 415.971, 'text': 'seller directory.', 'start': 415.01, 'duration': 0.961}, {'end': 422.538, 'text': 'Now if we want to see more information about an installed package, then we can do that by using the info command.', 'start': 416.272, 'duration': 6.266}, {'end': 424.48, 'text': 'So, let me clear my screen here.', 'start': 422.858, 'duration': 1.622}, {'end': 427.843, 'text': "I'm going to say brew info of tree.", 'start': 424.5, 'duration': 3.343}, {'end': 432.608, 'text': "And that's going to give us a description and where and when it was installed.", 'start': 428.424, 'duration': 4.184}, {'end': 434.49, 'text': 'And also some analytic data.', 'start': 433.068, 'duration': 1.422}], 'summary': "Homebrew installs packages in user local directory. 'brew info' provides package description and installation details.", 'duration': 29.806, 'max_score': 404.684, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU404684.jpg'}, {'end': 480.906, 'src': 'embed', 'start': 450.381, 'weight': 1, 'content': [{'end': 455.184, 'text': 'and it also tells us what dependencies it needs and which ones we already have.', 'start': 450.381, 'duration': 4.803}, {'end': 460.048, 'text': 'The red X here means that none of these dependencies are currently installed.', 'start': 455.564, 'duration': 4.484}, {'end': 465.092, 'text': 'And if we did have one of those dependencies installed, then it would instead be a green checkmark.', 'start': 460.508, 'duration': 4.584}, {'end': 469.656, 'text': 'Okay, so yeah, that info command can give you some pretty useful information.', 'start': 465.493, 'duration': 4.163}, {'end': 473.7, 'text': 'Now to uninstall a package, we can simply run the uninstall command.', 'start': 469.996, 'duration': 3.704}, {'end': 480.906, 'text': 'So brew uninstall tree, and that will go out and uninstall that tree command that we just installed earlier.', 'start': 474.04, 'duration': 6.866}], 'summary': 'Using the info command, we can check dependencies and uninstall packages with brew.', 'duration': 30.525, 'max_score': 450.381, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU450381.jpg'}], 'start': 119.744, 'title': 'Using homebrew for package management', 'summary': "Discusses the installation of homebrew, searching for packages, and managing packages, including details about successful installation, searching, narrowing down results, and understanding 'formula' and 'cask'. it also provides practical guidance on package management, focusing on installing the 'tree' package and utilizing the 'info' command.", 'chapters': [{'end': 245.493, 'start': 119.744, 'title': 'Installing and using homebrew', 'summary': "Discusses the installation of homebrew, including checking for successful installation, searching for packages, and narrowing down search results, with an example of searching for the 'postgres' package and understanding the difference between 'formula' and 'cask'.", 'duration': 125.749, 'highlights': ["The installation completed successfully if 'brew help' displays brew commands without errors. After installing Homebrew, a successful installation can be confirmed by running 'brew help' and checking for any errors. If it displays brew commands without errors, the installation is successful.", "Using 'brew search' displays a list of packages that can be installed with Homebrew. The 'brew search' command displays a list of packages that can be installed using Homebrew.", "Narrowing down search results can be done by passing a string to 'brew search' to find specific packages. To narrow down search results, a specific package can be found by passing a string to the 'brew search' command.", "Understanding the difference between 'formula' and 'cask', where 'formula' deals with command line software and 'cask' allows installation of macOS native applications. The chapter explains the difference between 'formula' and 'cask', where 'formula' typically deal with command line software, and 'cask' is an extension of Homebrew that allows the installation of macOS native applications."]}, {'end': 469.656, 'start': 245.873, 'title': 'Homebrew package management', 'summary': "Provides a practical guide to using homebrew for package management, including searching for, installing, and obtaining detailed information about packages, with a focus on installing the 'tree' package and utilizing the 'info' command.", 'duration': 223.783, 'highlights': ['Homebrew installs packages in the user local directory, providing a convenient and consistent location for all installed packages. Homebrew installs packages in the user local directory, maintaining consistency and convenience for accessing installed packages.', "The 'info' command provides detailed information about installed packages, including descriptions, installation details, and analytic data, enhancing user understanding of package functionality. The 'info' command offers comprehensive insights into installed packages, such as descriptions, installation specifics, and analytic data, enhancing user comprehension of package functionality.", "The 'info' command also facilitates the exploration of uninstalled packages, offering information on dependencies, enabling users to make informed installation decisions. The 'info' command supports the exploration of uninstalled packages, providing details on dependencies and aiding users in making informed installation decisions."]}], 'duration': 349.912, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU119744.jpg', 'highlights': ["Understanding the difference between 'formula' and 'cask', where 'formula' deals with command line software and 'cask' allows installation of macOS native applications.", "The 'info' command provides detailed information about installed packages, including descriptions, installation details, and analytic data, enhancing user understanding of package functionality.", 'Homebrew installs packages in the user local directory, providing a convenient and consistent location for all installed packages.', "Using 'brew search' displays a list of packages that can be installed with Homebrew.", "The 'info' command also facilitates the exploration of uninstalled packages, offering information on dependencies, enabling users to make informed installation decisions.", "Narrowing down search results can be done by passing a string to 'brew search' to find specific packages.", "After installing Homebrew, a successful installation can be confirmed by running 'brew help' and checking for any errors."]}, {'end': 1188.585, 'segs': [{'end': 500.077, 'src': 'embed', 'start': 469.996, 'weight': 3, 'content': [{'end': 473.7, 'text': 'Now to uninstall a package, we can simply run the uninstall command.', 'start': 469.996, 'duration': 3.704}, {'end': 480.906, 'text': 'So brew uninstall tree, and that will go out and uninstall that tree command that we just installed earlier.', 'start': 474.04, 'duration': 6.866}, {'end': 490.311, 'text': "Now, one really interesting thing with Homebrew is that we can use it to install GNU versions of certain tools that will overwrite Mac's BSD version of the same tool.", 'start': 481.326, 'duration': 8.985}, {'end': 493.213, 'text': "Now I'm not going to go into a lot of details there,", 'start': 490.672, 'duration': 2.541}, {'end': 500.077, 'text': 'but basically a lot of people like the Linux GNU version of some tools a lot more than the default Mac BSD version.', 'start': 493.213, 'duration': 6.864}], 'summary': "Use 'brew uninstall' to remove packages. homebrew can install gnu versions of tools.", 'duration': 30.081, 'max_score': 469.996, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU469996.jpg'}, {'end': 538.758, 'src': 'embed', 'start': 514.688, 'weight': 5, 'content': [{'end': 526.101, 'text': 'but if i look at the info for the grep package on homebrew, if i say brew info grep, then we can see that this says this is GNU grep.', 'start': 514.688, 'duration': 11.413}, {'end': 528.304, 'text': "So that's the Linux GNU version of grep.", 'start': 526.121, 'duration': 2.183}, {'end': 535.533, 'text': "So does that mean that if we install grep using brew, that it will overwrite our Mac's default grep command??", 'start': 528.724, 'duration': 6.809}, {'end': 538.758, 'text': 'Well, not really, but we could do that if we wanted to.', 'start': 535.834, 'duration': 2.924}], 'summary': "Using brew to install gnu grep on mac won't overwrite default grep.", 'duration': 24.07, 'max_score': 514.688, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU514688.jpg'}, {'end': 700.946, 'src': 'embed', 'start': 672.187, 'weight': 1, 'content': [{'end': 674.808, 'text': 'and then, if we wanted to view the outdated packages,', 'start': 672.187, 'duration': 2.621}, {'end': 685.492, 'text': 'we could say brew outdated and that would show us all of the packages that have an updated version available then to actually update those outdated packages.', 'start': 674.808, 'duration': 10.684}, {'end': 689.876, 'text': 'then we would then say brew upgrade and run that.', 'start': 685.492, 'duration': 4.384}, {'end': 696.822, 'text': "so anyone familiar with Linux, that should be a familiar process because it's how it's done on there as well.", 'start': 689.876, 'duration': 6.946}, {'end': 700.946, 'text': "now. by default, brew doesn't actually uninstall old versions of a package.", 'start': 696.822, 'duration': 4.124}], 'summary': "To view outdated packages, use 'brew outdated' and update with 'brew upgrade'. brew doesn't uninstall old versions by default.", 'duration': 28.759, 'max_score': 672.187, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU672187.jpg'}, {'end': 810.825, 'src': 'embed', 'start': 781.884, 'weight': 0, 'content': [{'end': 786.246, 'text': 'And I usually use this when I want to write a script to easily set up a new machine.', 'start': 781.884, 'duration': 4.362}, {'end': 792.53, 'text': "And the way that we install this is with a homebrew extension called Cask, and it's super easy to use.", 'start': 786.627, 'duration': 5.903}, {'end': 798.635, 'text': 'so we just need to say brew cask install instead of just brew install, like we did before.', 'start': 792.91, 'duration': 5.725}, {'end': 801.938, 'text': "so, for example, let's say that we wanted to install Firefox.", 'start': 798.635, 'duration': 3.303}, {'end': 810.825, 'text': "we could just simply say brew cask, install Firefox, and if I run that, then that's going to actually go out and install Firefox.", 'start': 801.938, 'duration': 8.887}], 'summary': "Using homebrew's cask extension to easily install software, e.g. firefox.", 'duration': 28.941, 'max_score': 781.884, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU781884.jpg'}, {'end': 942.83, 'src': 'heatmap', 'start': 912.627, 'weight': 0.746, 'content': [{'end': 914.649, 'text': "so that you're sure it's what you expected.", 'start': 912.627, 'duration': 2.022}, {'end': 922.434, 'text': 'So, for example, if I was to run BrewCaskHome on that PyCharm package, if I run this,', 'start': 915.009, 'duration': 7.425}, {'end': 926.677, 'text': "then it's going to open up the PyCharm homepage for us here in the browser.", 'start': 922.434, 'duration': 4.243}, {'end': 927.798, 'text': 'Now, like I said,', 'start': 926.997, 'duration': 0.801}, {'end': 937.325, 'text': "in the near future I'm going to release a video where I'll show you how I use scripts with BrewCask to completely set up a new machine and install all kinds of different applications,", 'start': 927.798, 'duration': 9.527}, {'end': 942.83, 'text': 'such as Google Chrome, Sublime Text, the fonts that I like, Spotify and a few others.', 'start': 937.325, 'duration': 5.505}], 'summary': 'Using brewcaskhome to open pycharm homepage; upcoming video on using scripts with brewcask for new machine setup and app installations.', 'duration': 30.203, 'max_score': 912.627, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU912627.jpg'}, {'end': 990.974, 'src': 'embed', 'start': 963.387, 'weight': 4, 'content': [{'end': 968.231, 'text': 'So to do this, we can simply tap a repository and then install the packages.', 'start': 963.387, 'duration': 4.844}, {'end': 971.794, 'text': 'So all of these are kind of Homebrew terms, you know, tap, things like that.', 'start': 968.271, 'duration': 3.523}, {'end': 979.002, 'text': "So for example, to use the Heroku CLI on Mac, it's easiest, in my opinion, to install this using Homebrew.", 'start': 972.194, 'duration': 6.808}, {'end': 982.566, 'text': 'But first, we have to tap their repository.', 'start': 979.403, 'duration': 3.163}, {'end': 990.974, 'text': 'So right now, if I was to say brew search and I was to search for Heroku, Then once the search is complete,', 'start': 982.927, 'duration': 8.047}], 'summary': 'Installing heroku cli on mac using homebrew involves tapping the repository and installing packages.', 'duration': 27.587, 'max_score': 963.387, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU963387.jpg'}, {'end': 1086.899, 'src': 'embed', 'start': 1057.378, 'weight': 2, 'content': [{'end': 1061.721, 'text': "So really, that's all I wanted to show you as far as a broad overview to Homebrew.", 'start': 1057.378, 'duration': 4.343}, {'end': 1065.803, 'text': 'I think that covers about 99% of what most people would use Homebrew for.', 'start': 1062.081, 'duration': 3.722}, {'end': 1071.087, 'text': 'Now, if you no longer want Homebrew on your system, then uninstalling it is pretty simple too.', 'start': 1066.343, 'duration': 4.744}, {'end': 1075.27, 'text': 'They have a page on their website where they provide a script that does this for us.', 'start': 1071.447, 'duration': 3.823}, {'end': 1077.492, 'text': 'And I have that open here in my browser.', 'start': 1075.61, 'duration': 1.882}, {'end': 1086.899, 'text': "So if I open my browser and go to their FAQ page, I have this here at the top, how do I uninstall Homebrew? And it's this script here.", 'start': 1077.792, 'duration': 9.107}], 'summary': 'Homebrew provides an easy uninstall script on their faq page.', 'duration': 29.521, 'max_score': 1057.378, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU1057378.jpg'}], 'start': 469.996, 'title': 'Homebrew on mac', 'summary': 'Covers installing gnu tools using homebrew, updating, installing, and uninstalling packages, and managing mac applications with homebrew cask, emphasizing its utility and time-saving benefits.', 'chapters': [{'end': 628.472, 'start': 469.996, 'title': 'Homebrew: installing gnu tools', 'summary': "Discusses using homebrew to uninstall and install gnu versions of tools, such as grep, to overwrite mac's default bsd versions, demonstrating the installation process and the caveat of using a prefix for the gnu commands.", 'duration': 158.476, 'highlights': ['Homebrew allows uninstalling packages by running the uninstall command, e.g., brew uninstall tree. Demonstrates the process of uninstalling a package using Homebrew.', "Homebrew can be used to install GNU versions of tools that will overwrite Mac's BSD version, such as the GNU grep command. Highlights the capability of Homebrew to install GNU versions of tools and their potential impact on Mac's default versions.", "When installing GNU versions of commands using Homebrew, the commands will have a prefix 'g', e.g., ggrep, and require adding the GNU bin directory to the path to use the normal names of the commands. Explains the caveat of using the g prefix for GNU commands and the process of adding the GNU bin directory to the path."]}, {'end': 1188.585, 'start': 628.472, 'title': 'Managing packages with homebrew on mac', 'summary': 'Covers the process of updating, installing, and uninstalling packages using homebrew on mac. it also demonstrates the use of homebrew cask to install mac applications, tapping repositories, and uninstalling homebrew, emphasizing its utility and time-saving benefits.', 'duration': 560.113, 'highlights': ["Updating Packages with Homebrew To update packages, users can run 'brew update' to fetch the newest versions of all packages, followed by 'brew outdated' to view the outdated packages and 'brew upgrade' to update them, similar to the process on Linux.", "Installing Mac Applications with Homebrew Cask Homebrew Cask allows the installation of Mac applications with a simple command like 'brew cask install [application]', providing a convenient alternative to manual installation from websites, streamlining the process and saving time.", "Tapping Repositories and Installing Packages from Different Repositories Users can tap a repository and install packages from it using commands like 'brew tap [repository]' and 'brew install [package]', enabling the installation of software from diverse sources and expanding the range of available packages.", 'Uninstalling Homebrew Uninstalling Homebrew is straightforward with a provided script, removing installed packages and cleaning up the system, making it easy to manage and remove Homebrew from the system when needed.']}], 'duration': 718.589, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/SELYgZvAZbU/pics/SELYgZvAZbU469996.jpg', 'highlights': ["Homebrew Cask allows the installation of Mac applications with a simple command like 'brew cask install [application]', streamlining the process and saving time.", "Updating packages with Homebrew involves running 'brew update' to fetch the newest versions, 'brew outdated' to view outdated packages, and 'brew upgrade' to update them, similar to the process on Linux.", 'Uninstalling Homebrew is straightforward with a provided script, removing installed packages and cleaning up the system, making it easy to manage and remove Homebrew from the system when needed.', 'Homebrew allows uninstalling packages by running the uninstall command, e.g., brew uninstall tree, demonstrating the process of uninstalling a package using Homebrew.', 'Tapping repositories and installing packages from different repositories enables the installation of software from diverse sources and expanding the range of available packages.', "Homebrew can be used to install GNU versions of tools that will overwrite Mac's BSD version, such as the GNU grep command, highlighting the capability of Homebrew to install GNU versions of tools and their potential impact on Mac's default versions."]}], 'highlights': ['Homebrew is a package manager for Mac, enabling command line software installation.', 'Installing command line tools through Xcode is crucial for Homebrew installation.', 'The installation of Homebrew is done through a Ruby command, streamlining the process.', "Understanding the difference between 'formula' and 'cask', where 'formula' deals with command line software and 'cask' allows installation of macOS native applications.", "The 'info' command provides detailed information about installed packages, including descriptions, installation details, and analytic data, enhancing user understanding of package functionality.", 'Homebrew installs packages in the user local directory, providing a convenient and consistent location for all installed packages.', "Using 'brew search' displays a list of packages that can be installed with Homebrew.", "The 'info' command also facilitates the exploration of uninstalled packages, offering information on dependencies, enabling users to make informed installation decisions.", "After installing Homebrew, a successful installation can be confirmed by running 'brew help' and checking for any errors.", "Homebrew Cask allows the installation of Mac applications with a simple command like 'brew cask install [application]', streamlining the process and saving time.", "Updating packages with Homebrew involves running 'brew update' to fetch the newest versions, 'brew outdated' to view outdated packages, and 'brew upgrade' to update them, similar to the process on Linux.", 'Uninstalling Homebrew is straightforward with a provided script, removing installed packages and cleaning up the system, making it easy to manage and remove Homebrew from the system when needed.', 'Homebrew allows uninstalling packages by running the uninstall command, e.g., brew uninstall tree, demonstrating the process of uninstalling a package using Homebrew.', 'Tapping repositories and installing packages from different repositories enables the installation of software from diverse sources and expanding the range of available packages.', "Homebrew can be used to install GNU versions of tools that will overwrite Mac's BSD version, such as the GNU grep command, highlighting the capability of Homebrew to install GNU versions of tools and their potential impact on Mac's default versions."]}