Hey everyone. I'm going to be releasing a Python video today at noon showing how I wrote a script to analyze a JSON API of Homebrew Packages. You don't need to use Homebrew or be on a Mac to follow along. It will be great practice for anyone learning Python. I will also be releasing a video next week showing how I use Homebrew to set up a new MacBook from scratch using scripts. Hope everyone is having a great week!
@@sandeepvk I got a Refurbished 2017 MacBook Pro that was the deal of the day on Amazon a few weeks ago. I probably won't use the touch bar all that much, but I also don't mind it either. I could definitely do without it. I'm kind've a minimalist, so I could definitely do without extra bells and whistles that don't actually save me much time or convenience.
This tutorial was very helpful. I was trying to automate something using Python, homebrew, selenium and NumPy. I never worked with any of these nor have I ever really worked in a terminal setting. Your video along with a little additional research of my own helped me solve my issue and get my automation up and running. Thank you!
what is the password the terminal asks for? Do we have to make up some password for future or it requires some password that is all ready set ? I am stuck at the password stage! :/
Thank you for the nice video! Although some information are already outdated (cask must now be called using --cask brew search doesn't list the available packages) it was very usefull. Since I already know the linux commands that you used, it is a very straight forward explanation to my main interest which was the access to homebrew.
Wonderful video, thank you for this. Even after 5 years this is still helpful! The cask command is outdated and you must now use `brew install --cask firefox` as an example. Very good video nonetheless!
Hi, I love the way you teach and turn complicated stuff into simple explanatory methods. What is your background, and how long did it take for you to master all these systems? My goal is to learn Machine Learning and become an expert in the area. I am just getting started, so I have a long way to go, beginning from zero.
You probably found the answer considering this was a few months ago, but you most likely need to install xcode itself. You can find it here: developer.apple.com/download/
Hi please help, I once installed brew and it worked but now it’s not active and every time I’m getting the -bash: brew: command not found. What should I do?
Do you have any recommendations for entirely uninstalling previously installed versions of Python for Mac? I’m not taking about the Python 2 that is automatically built into Macs, but Python downloaded from online, for example 3.x. I want to do this so that I can start using HomeBrew and not worry about big clutters of Python packages in my system. Great video!
Clean, understandable and specific. Thank you. My MacBook Pro arrives soon. As a Windows user, I find your tutorial helpful and hopeful…QQ: where might I find a list of software (casks) such as Firefox and Chrome which Homebrew can install?
Great video Thanks! Love the way you have Terminal set up with the different colors, how do I set that up on mine, This is my first Mac and really loving it...
I love using HomeBrew. I used to use 'apt' and 'apt-get' before I understood it better. I love the terminal too. It is clean and organized and you can control what is on your machine. I am a total convert to brew on my MacBook. What is your suggestion for Javascript package management on my MacBook? I am just starting to work with it and have started with 'npm' but I have also seen 'yarn' which seems popular. I want something that will work nicely with ReactJS, Brew, Django, etc. So 'npm'? 'yarn'? or something else for my MacBook?
Okay. Thanks for the reply. By the way I am a huge fan of your work here. Thanks for all of the great content. You have had a great impact on me. Thanks.
Another good video. Thanks... Just curious, what is the advantage of someone hosting an alternate "tap" repo? Why would Heroku have their own instead of contributing their package to the main repo?
Still not clear on update vs upgrade. If "$brew update" updates all our installed packages, then doesn't this mean that the update command will fetch the latest/updated version of the corresponding installed package ? How exactly does this differ from the "$brew upgrade" command ? Also, what if we want to update/upgrade the actual homebrew package itself ? Thank you in advance for your time.
if there is app that didn't available in homebrew, is there possibility to install it with homebrew? if there is possibility, how can you install that apps? I know the apps available in mac port, but if I am install mac port, there will be apps that I cannot install since it unavailable in mac port, so I am in kinda have dilemma. The apps that I want to install is PAN a news reader from rebel base. it was available in homebrew until version 0.36 if I am not mistaken, but currently it unavailable for homebrew after it got deleted.
Got a question for you about how all this works on cask apps. I like to to organize my Applications directory structure - for example, moving things like VLC and GIMP into a special /Applications/Multimedia folder, some others into /Applications/Internet, etc. Since the Homebrew cask installation automatically moves things to /Applications, would it cause any future conflicts for me to further move something from there?
Thanx for this. A question for the comments section :) Is there a way one could remove dependencies that have been installed for a specific formulae-package when uninstalling it?
Thank you very much for this video so helpful, could you please make a tutorial on emacs gnu and how to use it with python or latex? Again thank very much, your channel is one of the greatest resources to learn something new and make me feel professional after applying your tutorials!
I did not know about the brew home command. Homebrew sometimes shows a lot of closed pull requests. Assuming I should not be getting them, how can I get rid of them?
How did you get the $ sign prior to typing brew..... I have % but was able to install home-brew.... I am new and a student .... this is one the installations we needed to do...
hi .... i know the video is old but.... how do you do "coreyschafer at coreys-mac in desktop $" i mean your "$" at the new line i want mine like that too please
I had brew installed on my mac, I get into problems while trying to run "brew update". I tried to uninstall the brew with the command ruby -e "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/uninstall)" I don't rememeber exactly if the command was success or not. But now when I am trying to install brew I am getting below error message: Downloading and installing Homebrew... remote: Enumerating objects: 74, done. remote: Counting objects: 100% (74/74), done. remote: Compressing objects: 100% (74/74), done. error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed Failed during: git fetch origin --force Please suggest me option to resolve the issue.
Everything is working properly but the package manager ‘cask' is not working anymore and it shows an error. That the cask does not exist. So can you tell me why this is happening.
Hey, I'm trying to install emacs on my Mac and brew has emacs as one of the packages. When I type in "brew cask install emacs" in the terminal,, is says that emacs is downloaded. But, when I type in emacs, it says that command is not found. Can someone help me with this?
==> Downloading and installing Homebrew... fatal: '/usr/local' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Failed during: git fetch --force origin i'm suck with this...
It's a matter of personal preference. I have always enjoyed Linux and MacOS over Windows because I am more comfortable with their command-line tools and feel more productive.
I am unfamiliar with using Windows but with a quick googling I saw that there seems to be some recent support for Windows in version 2.0.0 (with some caveats it looks like) but I think that a lot of people use Choclatey for Windows package management. I would start looking there unless you get advice from someone who has more experience with Windows.
I believe Homebrew 2.0 will work with Windows 10 using the Linux Subsystem. Other than that I’m not too sure. I Googled some results and found this link that might be helpful: www.quora.com/Does-the-Windows-OS-have-a-package-manager-like-Homebrew-in-the-Mac-OS
Scoop (scoop.sh) is a pretty good package installer for Windows. Works exactly the way Homebrew does, and fetches application setups from source. You dont even need admin for scoop apps. So now you can use Linux cli tools in cmd/ps. Usage is of the form `scoop [install/info/search/list/uninstall/cleanup] `. Checkout Github readme for installation instructions: github.com/lukesampson/scoop
I have this message: "Cant's install the software because it is not currently available from the Software Update server". I can suggest this is due to what I have updated my Catalina OS on my unsupported Mac 5.1 with the help of dosdude1 patch (dosdude1.com/catalina/). Any help
Thanks for sharing this video. I have the below problem, how to fix? ~ mac$ brew search pycharm /usr/local/Homebrew/Library/Homebrew/global.rb:12:in `require': cannot load such file -- active_support/core_ext/object/blank (LoadError) from /usr/local/Homebrew/Library/Homebrew/global.rb:12:in `' from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative' from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `'
I need help. This is the link that my Homebrew is trying to get me to paste in my terminal: $ /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install.sh)" It doesn't work. I only receive "zsh: command not found: $"
keywords are working but why do I get warnings saying "Warning: Calling 'brew search' with no arguments to output formulae is deprecated! Use 'brew formulae' instead". ANYONE CAN EXPLAIN PLS!
Hey everyone. I'm going to be releasing a Python video today at noon showing how I wrote a script to analyze a JSON API of Homebrew Packages. You don't need to use Homebrew or be on a Mac to follow along. It will be great practice for anyone learning Python.
I will also be releasing a video next week showing how I use Homebrew to set up a new MacBook from scratch using scripts. Hope everyone is having a great week!
Hi, Which Mac book did you get ? The touch bar is a bit of a bummer huh ?
@@sandeepvk I got a Refurbished 2017 MacBook Pro that was the deal of the day on Amazon a few weeks ago. I probably won't use the touch bar all that much, but I also don't mind it either. I could definitely do without it. I'm kind've a minimalist, so I could definitely do without extra bells and whistles that don't actually save me much time or convenience.
@@coreyms Couldn't agree more !
Omg dude, you're everywhere. I mean every time I try to find an explanation on youtube I get your videos and they're all great :) Thanks!
It's coincidence
This tutorial was very helpful. I was trying to automate something using Python, homebrew, selenium and NumPy. I never worked with any of these nor have I ever really worked in a terminal setting. Your video along with a little additional research of my own helped me solve my issue and get my automation up and running. Thank you!
what is the password the terminal asks for? Do we have to make up some password for future or it requires some password that is all ready set ? I am stuck at the password stage! :/
@@vaishalisaini10 same here
Thank you for the nice video! Although some information are already outdated (cask must now be called using --cask brew search doesn't list the available packages) it was very usefull. Since I already know the linux commands that you used, it is a very straight forward explanation to my main interest which was the access to homebrew.
so ur looking for about ...
corey has a video on it.
take my money!
Wonderful video, thank you for this. Even after 5 years this is still helpful!
The cask command is outdated and you must now use `brew install --cask firefox` as an example. Very good video nonetheless!
Hi, I love the way you teach and turn complicated stuff into simple explanatory methods. What is your background, and how long did it take for you to master all these systems? My goal is to learn Machine Learning and become an expert in the area. I am just getting started, so I have a long way to go, beginning from zero.
absolutely amazing, so organized. very clean and clear tutorial over this tool and its usages
Thanks so much for proving that the Mac OS are really powerful when known how to use properly!
Hats off to you sir for making it so simple to understand.
Great Video dude. All of your videos are great
Always learn so much useful info from your videos Corey! Nice clear explanation too. Thank you.
A good and deep introduction. Thank you.
As of Homebrew 2.6.0 brew cask has been deprecated in favor of brew. So depending on your version you might have to use "brew install --cask firefox"
Thanks for keeping things stock so we can follow along with your videos :)
Terrific job on HomeBrew. I'll be back.
You're a great teacher. Thank you so much for your work.
Your video helped a lot sir. Thanks!
Thx
it was exactly i was looking for
You sir are a Python Knight! hehe
A good overview and in depth explanation to homebrew. 🤓 Thank you so much!
👍🙂
Just found your channel and subscribed. Looking forward for a video on installing multiple applications on a new Mac.
It’s already out. It’s my latest video.
Awesome and super helpful video, thank you.
Thanks Corey for this video!
dude this helped me so much thankyou soo much.
My mac terminal tells me "-bash: xcode-select: command not found" when I run "xcode-select --install"
☹️
You probably found the answer considering this was a few months ago, but you most likely need to install xcode itself. You can find it here: developer.apple.com/download/
best thing about homebrew is not having to set PATH or run sudo on everything carelessly and end up chown'ing everything
So helpful ,thanq!
'brew search' has been updated to 'brew formulae' command if you want to list the packages that can be installed using Homebrew
Thanks very much for another informative and extremely useful video.
CAn you kindly explain to me what this is for?
Thank you, great video
Terrific video, thank you!
Hi please help, I once installed brew and it worked but now it’s not active and every time I’m getting the -bash: brew: command not found. What should I do?
Do you have any recommendations for entirely uninstalling previously installed versions of Python for Mac? I’m not taking about the Python 2 that is automatically built into Macs, but Python downloaded from online, for example 3.x. I want to do this so that I can start using HomeBrew and not worry about big clutters of Python packages in my system. Great video!
I am curious as well.
Clean, understandable and specific. Thank you. My MacBook Pro arrives soon. As a Windows user, I find your tutorial helpful and hopeful…QQ: where might I find a list of software (casks) such as Firefox and Chrome which Homebrew can install?
Thank you bro
Great video Thanks! Love the way you have Terminal set up with the different colors, how do I set that up on mine, This is my first Mac and really loving it...
I love using HomeBrew. I used to use 'apt' and 'apt-get' before I understood it better. I love the terminal too. It is clean and organized and you can control what is on your machine. I am a total convert to brew on my MacBook.
What is your suggestion for Javascript package management on my MacBook? I am just starting to work with it and have started with 'npm' but I have also seen 'yarn' which seems popular. I want something that will work nicely with ReactJS, Brew, Django, etc. So 'npm'? 'yarn'? or something else for my MacBook?
I don’t do a lot of JavaScript work these days, but when I do I use NPN. I haven’t tried Yarn though, so I have nothing against it.
Okay. Thanks for the reply. By the way I am a huge fan of your work here. Thanks for all of the great content. You have had a great impact on me. Thanks.
Another good video. Thanks...
Just curious, what is the advantage of someone hosting an alternate "tap" repo? Why would Heroku have their own instead of contributing their package to the main repo?
thanks for this!
Still not clear on update vs upgrade. If "$brew update" updates all our installed packages, then doesn't this mean that the update command will fetch the latest/updated version of the corresponding installed package ? How exactly does this differ from the "$brew upgrade" command ?
Also, what if we want to update/upgrade the actual homebrew package itself ?
Thank you in advance for your time.
Could you share your script you use to set up new machines?
Great video, thank you 😃
...brew comand not found.....
Plz help me sir
if there is app that didn't available in homebrew, is there possibility to install it with homebrew? if there is possibility, how can you install that apps? I know the apps available in mac port, but if I am install mac port, there will be apps that I cannot install since it unavailable in mac port, so I am in kinda have dilemma.
The apps that I want to install is PAN a news reader from rebel base. it was available in homebrew until version 0.36 if I am not mistaken, but currently it unavailable for homebrew after it got deleted.
Got a question for you about how all this works on cask apps. I like to to organize my Applications directory structure - for example, moving things like VLC and GIMP into a special /Applications/Multimedia folder, some others into /Applications/Internet, etc.
Since the Homebrew cask installation automatically moves things to /Applications, would it cause any future conflicts for me to further move something from there?
hello please when it shows password, what password is it requesting ???
Thanx for this. A question for the comments section :) Is there a way one could remove dependencies that have been installed for a specific formulae-package when uninstalling it?
Thanks this is very useful. But cask seems to be no longer a brew command...
what is the colortheme you are using for your terminal
Thank you very much for this video so helpful, could you please make a tutorial on emacs gnu and how to use it with python or latex?
Again thank very much, your channel is one of the greatest resources to learn something new and make me feel professional after applying your tutorials!
I did not know about the brew home command. Homebrew sometimes shows a lot of closed pull requests. Assuming I should not be getting them, how can I get rid of them?
14:05 Now it is `brew install --cask firefox`
What is the good way to install softwares? Using brew or official installers? I heard there might be issues with brew install. Correct me if I’m wrong
thanks for sharing bro. For Big Sur the search command should be brew formulae
How did you get the $ sign prior to typing brew..... I have % but was able to install home-brew.... I am new and a student .... this is one the installations we needed to do...
Thank so much!
Is there a way to build from source with Homebrew if there is no brew specific repo on github?
What is the difference of installing git with letting Mac install the default from the prompt and going to homebrew to install it ?
hi .... i know the video is old but....
how do you do
"coreyschafer at coreys-mac in desktop
$"
i mean your "$" at the new line
i want mine like that too please
ive installed home-brew twice now, it says successful. I've tried the brew command and brew help, and all I get is command not found...
sorry bro, I am not clear on the diff between brew update and brew upgrade. it seems u said they both update our packages??
How can we take forensic image of macintosh drive using homebrew?
Are there any downsides to using Homebrew?
does anyone know what colortheme he is using for his terminal ?
How do I put my password in it won’t work
Did u figure out how to do it? please let me know how
@@asgharkhan4665 just type it and press enter, it wont show what you're typing. Its your computer's password.
Can someone explain what symlinks are? and why home brew uses it?
I had brew installed on my mac, I get into problems while trying to run "brew update".
I tried to uninstall the brew with the command
ruby -e "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/uninstall)"
I don't rememeber exactly if the command was success or not.
But now when I am trying to install brew I am getting below error message:
Downloading and installing Homebrew...
remote: Enumerating objects: 74, done.
remote: Counting objects: 100% (74/74), done.
remote: Compressing objects: 100% (74/74), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Failed during: git fetch origin --force
Please suggest me option to resolve the issue.
I can’t seem to find the thing I downloaded
Everything is working properly but the package manager ‘cask' is not working anymore and it shows an error. That the cask does not exist. So can you tell me why this is happening.
Hey, I'm trying to install emacs on my Mac and brew has emacs as one of the packages. When I type in "brew cask install emacs" in the terminal,, is says that emacs is downloaded. But, when I type in emacs, it says that command is not found. Can someone help me with this?
Try "brew install emacs" to install emacs, since it's a formulae app
Corey, brew cask home pycharm is not working anymore on the new version. Homebrew website recommends to us brew home --cask pycharm instead
brew cask install mypackage does not work anymore in my case, use brew install --cask mypackage instead.
Thank you
==> Downloading and installing Homebrew...
fatal: '/usr/local' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Failed during: git fetch --force origin
i'm suck with this...
when i install homebrew it is saying session timed out
Is macos better for programming than windows? Or is it just a matter of branding and personal preference...
It's a matter of personal preference. I have always enjoyed Linux and MacOS over Windows because I am more comfortable with their command-line tools and feel more productive.
is there is something like homebrew but for widows
I am unfamiliar with using Windows but with a quick googling I saw that there seems to be some recent support for Windows in version 2.0.0 (with some caveats it looks like) but I think that a lot of people use Choclatey for Windows package management. I would start looking there unless you get advice from someone who has more experience with Windows.
I believe Homebrew 2.0 will work with Windows 10 using the Linux Subsystem. Other than that I’m not too sure. I Googled some results and found this link that might be helpful:
www.quora.com/Does-the-Windows-OS-have-a-package-manager-like-Homebrew-in-the-Mac-OS
@@jaygreg6329 chocolatey install package_name
using from few months
Scoop (scoop.sh) is a pretty good package installer for Windows. Works exactly the way Homebrew does, and fetches application setups from source. You dont even need admin for scoop apps. So now you can use Linux cli tools in cmd/ps. Usage is of the form `scoop [install/info/search/list/uninstall/cleanup] `. Checkout Github readme for installation instructions: github.com/lukesampson/scoop
Its called Scoop
ua-cam.com/video/a85QLUJ0Wbs/v-deo.html
i hit an error while installing homebrew. it says sudo access password
I have this message: "Cant's install the software because it is not currently available from the Software Update server". I can suggest this is due to what I have updated my Catalina OS on my unsupported Mac 5.1 with the help of dosdude1 patch (dosdude1.com/catalina/). Any help
any help guys
Thanks for sharing this video.
I have the below problem, how to fix?
~ mac$ brew search pycharm
/usr/local/Homebrew/Library/Homebrew/global.rb:12:in `require': cannot load such file -- active_support/core_ext/object/blank (LoadError)
from /usr/local/Homebrew/Library/Homebrew/global.rb:12:in `'
from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative'
from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `'
plz help
$ brew help
bash: brew: command not found
Can you try this?
/bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install.sh)"
@@charan_75 mine makes me put in a password but I can't type anything in?
Kupono Kealiinohomoku Yes, you can. The terminal doesn’t show it but just type ahead and press Enter. You’ll see that it works.
How to install it for M1 mac?
I need help.
This is the link that my Homebrew is trying to get me to paste in my terminal:
$ /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install.sh)"
It doesn't work. I only receive "zsh: command not found: $"
keywords are working but why do I get warnings saying "Warning: Calling 'brew search' with no arguments to output formulae is deprecated! Use 'brew formulae' instead". ANYONE CAN EXPLAIN PLS!
it doesn't work, brew help command not found
great!
Awesome
so whats the password that needs to be entered wont let me type anything in there? Corey Schafer
Same problem Im having. How the hell do I put a password in? You can't type in terminal once you've pasted that homebrew command in
unknown uknowm what’s the key command on a keyboard?
did you find the solution?
mine doesnt download anything
Can someone please tell me how to put in the password its not letting me type anything
did you find out? I have the same problem
how do i enter my password ?
what is this password it demands? i am stuck at the password part
Your password to log into your Mac.
More advanced Linux users will often find Homebrew to be rather crappy, with questionable security decisions having been made.
Nice work, we will be at Knowledge Fest please check us out.
as well
using cask today it would be:
so what the password ?
Noooooo...don’t cut-paste commands from the Internet. Otherwise, great video!
No such file or directory
i stuck at password
same
16/12/2020
brew search | wc -l
5379