07 - What is Homebrew & how to install it

The important bits

Transcript

0:00 In this episode we're going to talk about homebrew. What it is why you should care about it. Whether you should install it and where you might run into it, so maybe you're out doing some local development and you think on a find something better for searching through my files. For certain terms, defined a blog post talks about something cool, called a rip grip. Click on it. It takes you to the github Repo. You think great. This looks good. Supposed to be really fast. Let me see if I can install this all of a sudden. You see if your Mac homebrew or Linux for user. We can use brew install, and you're gonna see this a lot all over get hub. You may find a really healthy utility, and all of a sudden It's tongue you to use brew. If you're new to app development. You may think I have no idea what this is and it's just an additional thing that makes it harder to use the tooling, and so if you don't know Abreu as this is the episode for you, so the home page for brew can be found at Brewdog Sh, and the documentation here is decent and explains that Brew is the missing package manager for Mac O. S. Also for Linux. It's got some installation instructions that explains what it does in a nutshell Brew makes it easy to install and manage a lot of the software you find across the Web, so I use Brew to install and Vm node Rip grab any of this tooling usually from worse things and get hub. If it's node based, he leaves and Pm to install. It is not node based. You'll use brew. That's kind of the common convention. Let's install it, so the command here is this. Which this kind of looks like magic? So let's break it down real quick this year means we're going to use the Bash language to run this command in this commander says Curl, which means download, Read, download this script and execute it with the Bash language. Because this is a Bash script and this is a script that's going to install homebrew and prep your computer for the needed functionality. Lot of magic. You don't need to worry about it. Case. Let's copy this. You're going to hit your terminal and paste it in. Because I already have homebrew installed on my computer, I'm going to use Rapid here to show you what it looks like this installation may take several minutes. Here. It's prompting me to hit enter. So I'm going to do that. That's downloading all the necessary pieces. I'm going to switch to my local terminal now because it's now installed, and so I'll demonstrate how to use it. They're alright, so we'll verify that it's installed, but typing brew. When we type in brew, we see a number of helpful commands you type brew info node, and they'll tell you some of the information about that. Bruh Node has written fourteen. If we want to search for it. Can you bruce search node, See what's available there. Then you could pull up info about any of those so brew info note at ten, tells us that it's version. Ten little bit information about it. The website, etc if you don't like using the command -line could also go to the website and type any of those package names in here

2:48 that also gives you the same information and and then you can run brew, install node. So we want to install rip grip brew, install, Rip grip, so do the same thing here in search for a rip grip. If we wanted to tell you some information about it. The home page, Say the locally brewed search

3:08 gives you a little less information than the website, but could still be useful all right, so let's install Rip grip

3:17 for going to make sure that it has the most recent version of homebrew so that it can install it from the right place. And in my case already have it installed on a reinstall. It you type brew, reinstall rift grip, and a solid, pretty simple.

3:31 One of the nice things I like about brew is that it manages the location of the installation for you, so you don't have to worry about where it's installed so now that I've installed Rip Grab. According to the website. The binary name is Archie. So it should be able to use the Rg command. Now.

3:48 Can it tells me how to use it, So I'm this folder here. Let's see if there's something I can search for. I test okay by G. My test because I didn't use the correct case. There you go. I could do a dash. I flag to ignore the case. And it also finds it there. Let's head back to the website. In summary. Brew is a very widely used package manager for Mac O. S. If you're looking at software on Git hub, chances are, they'll either ask you to install it with P Pm. Or withdrew, so whenever you see brew install is what you do and in this episode we covered how to install brew install packages. I a searched for packages at a looker information about packages that uninstall packages that you've installed. That's it? Let me know if you have any questions.

END