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.
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.
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! :/
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?
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.
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.
==> 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...
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.
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?
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?
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 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?
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: $"
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
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?
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?
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!
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?
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...
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!
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!
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
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.
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...
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 `'
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 tried to install homebrew on my MacBook Catalonia. It says 'Installation successful!'. When I put the code in *brew help* all the stuff that came up for you did not happen. I think it may be because the * /usr/local/bin is not in your PATH.* *Already up-to-date. Warning: /usr/local/bin is not in your PATH. ==> Installation successful! ==> Homebrew has enabled anonymous aggregate formulae and cask analytics. Read the analytics documentation (and how to opt-out) here: docs.brew.sh/Analytics No analytics data has been sent yet (or will be during this `install` run). ==> Homebrew is run entirely by unpaid volunteers. Please consider donating: github.com/Homebrew/brew#donations ==> Next steps: - Run `brew help` to get started - Further documentation: docs.brew.sh Sarah@JD-Salinger-2 ~ % `brew help bquote>* Could you let me know if this is the issue and how to fix it. Thank you, Sarah
Some of the apps are just command line tools that probably won’t have any sort of .dmg installer. If you’re not aware of such tools, you probably have no use for them. We’re talking command line here, not GUI double clicking .dmg’s. As with anything terminal related, if ur scripting skills are good enough you can do some powerful stuff...
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
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!
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
Thanks so much for proving that the Mac OS are really powerful when known how to use properly!
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.
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"
absolutely amazing, so organized. very clean and clear tutorial over this tool and its usages
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/
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?
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.
Hats off to you sir for making it so simple to understand.
Always learn so much useful info from your videos Corey! Nice clear explanation too. Thank you.
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.
A good overview and in depth explanation to homebrew. 🤓 Thank you so much!
👍🙂
'brew search' has been updated to 'brew formulae' command if you want to list the packages that can be installed using Homebrew
best thing about homebrew is not having to set PATH or run sudo on everything carelessly and end up chown'ing everything
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...
==> 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...
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.
A good and deep introduction. Thank you.
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?
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?
You're a great teacher. Thank you so much for your work.
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.
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.
Thanks for keeping things stock so we can follow along with your videos :)
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?
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: $"
brew cask install mypackage does not work anymore in my case, use brew install --cask mypackage instead.
Thank you
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
Awesome and super helpful video, thank you.
sorry bro, I am not clear on the diff between brew update and brew upgrade. it seems u said they both update our packages??
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?
Terrific job on HomeBrew. I'll be back.
Great Video dude. All of your videos are great
Thanks very much for another informative and extremely useful video.
CAn you kindly explain to me what this is for?
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
What is the difference of installing git with letting Mac install the default from the prompt and going to homebrew to install it ?
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.
Is there a way to build from source with Homebrew if there is no brew specific repo on github?
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?
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
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...
Your video helped a lot sir. Thanks!
You sir are a Python Knight! hehe
dude this helped me so much thankyou soo much.
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!
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!
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
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.
i hit an error while installing homebrew. it says sudo access password
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...
Thanks this is very useful. But cask seems to be no longer a brew command...
Corey, brew cask home pycharm is not working anymore on the new version. Homebrew website recommends to us brew home --cask pycharm instead
...brew comand not found.....
Plz help me sir
Thx
it was exactly i was looking for
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 `'
Could you share your script you use to set up new machines?
Great video, thank you 😃
So helpful ,thanq!
does anyone know what colortheme he is using for his terminal ?
How can we take forensic image of macintosh drive using homebrew?
Can someone explain what symlinks are? and why home brew uses it?
Are there any downsides to using Homebrew?
Thanks Corey for this video!
what is the colortheme you are using for your terminal
Terrific video, thank you!
Thank you bro
Thank you, great video
when i install homebrew it is saying session timed out
hello please when it shows password, what password is it requesting ???
14:05 Now it is `brew install --cask firefox`
thanks for sharing bro. For Big Sur the search command should be brew formulae
thanks for this!
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.
it doesn't work, brew help command not found
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.
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.
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?
How to install it for M1 mac?
More advanced Linux users will often find Homebrew to be rather crappy, with questionable security decisions having been made.
great!
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
as well
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
mine doesnt download anything
Nice work, we will be at Knowledge Fest please check us out.
Noooooo...don’t cut-paste commands from the Internet. Otherwise, great video!
I tried to install homebrew on my MacBook Catalonia. It says 'Installation successful!'. When I put the code in *brew help* all the stuff that came up for you did not happen.
I think it may be because the * /usr/local/bin is not in your PATH.*
*Already up-to-date.
Warning: /usr/local/bin is not in your PATH.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
docs.brew.sh/Analytics
No analytics data has been sent yet (or will be during this `install` run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
github.com/Homebrew/brew#donations
==> Next steps:
- Run `brew help` to get started
- Further documentation:
docs.brew.sh
Sarah@JD-Salinger-2 ~ % `brew help
bquote>*
Could you let me know if this is the issue and how to fix it.
Thank you,
Sarah
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.
16/12/2020
brew search | wc -l
5379
No such file or directory
using cask today it would be:
so what the password ?
i stuck at password
same
we can't like your videos when watching these from your website. no like button.
Why would you bother to use this to install apps when you could just do it on safari?
Do it _on_ Safari? You mean downloading a .dmg from the Web?
Some of the apps are just command line tools that probably won’t have any sort of .dmg installer. If you’re not aware of such tools, you probably have no use for them. We’re talking command line here, not GUI double clicking .dmg’s. As with anything terminal related, if ur scripting skills are good enough you can do some powerful stuff...