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

  Рет қаралды 209,119

Corey Schafer

Corey Schafer

Күн бұрын

Пікірлер: 144
@coreyms
@coreyms 5 жыл бұрын
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
@sandeepvk 5 жыл бұрын
Hi, Which Mac book did you get ? The touch bar is a bit of a bummer huh ?
@coreyms
@coreyms 5 жыл бұрын
@@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.
@sandeepvk
@sandeepvk 5 жыл бұрын
@@coreyms Couldn't agree more !
@SJ-vc2tz
@SJ-vc2tz 3 жыл бұрын
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!
@marfcan4175
@marfcan4175 3 жыл бұрын
It's coincidence
@saschageidel1471
@saschageidel1471 Жыл бұрын
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.
@_Mohanned
@_Mohanned 2 ай бұрын
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!
@MechF29
@MechF29 4 жыл бұрын
Thanks so much for proving that the Mac OS are really powerful when known how to use properly!
@fab_uclosetonposhmark1591
@fab_uclosetonposhmark1591 4 жыл бұрын
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!
@vaishalisaini10
@vaishalisaini10 4 жыл бұрын
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! :/
@Angelic_voice1
@Angelic_voice1 2 жыл бұрын
@@vaishalisaini10 same here
@hyper8547
@hyper8547 5 жыл бұрын
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.
@ulfgj
@ulfgj 5 жыл бұрын
so ur looking for about ... corey has a video on it. take my money!
@jonathanfridja3010
@jonathanfridja3010 2 жыл бұрын
absolutely amazing, so organized. very clean and clear tutorial over this tool and its usages
@kalyanparshant
@kalyanparshant 3 жыл бұрын
Hats off to you sir for making it so simple to understand.
@victorespinoza355
@victorespinoza355 2 жыл бұрын
Great Video dude. All of your videos are great
@MarcMcRae
@MarcMcRae 5 жыл бұрын
Always learn so much useful info from your videos Corey! Nice clear explanation too. Thank you.
@djkasperg
@djkasperg 2 жыл бұрын
You're a great teacher. Thank you so much for your work.
@criptoalisson
@criptoalisson 3 жыл бұрын
Your video helped a lot sir. Thanks!
@divyanshrai4138
@divyanshrai4138 3 жыл бұрын
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"
@fredli6962
@fredli6962 4 жыл бұрын
A good and deep introduction. Thank you.
@pressrepeat2000
@pressrepeat2000 5 жыл бұрын
Awesome and super helpful video, thank you.
@w9zsj
@w9zsj 3 жыл бұрын
Terrific job on HomeBrew. I'll be back.
@andrewcompasso7289
@andrewcompasso7289 3 жыл бұрын
Thx it was exactly i was looking for
@RyanJohnson
@RyanJohnson 4 жыл бұрын
Thanks for keeping things stock so we can follow along with your videos :)
@dominik-urban
@dominik-urban 5 жыл бұрын
A good overview and in depth explanation to homebrew. 🤓 Thank you so much! 👍🙂
@АндрейБорисов-и4о
@АндрейБорисов-и4о 4 жыл бұрын
Thanks Corey for this video!
@josefigueroa7146
@josefigueroa7146 5 жыл бұрын
Just found your channel and subscribed. Looking forward for a video on installing multiple applications on a new Mac.
@coreyms
@coreyms 5 жыл бұрын
It’s already out. It’s my latest video.
@applikai
@applikai 3 жыл бұрын
'brew search' has been updated to 'brew formulae' command if you want to list the packages that can be installed using Homebrew
@mzuen3209
@mzuen3209 5 жыл бұрын
So helpful ,thanq!
@darrenz5557
@darrenz5557 3 жыл бұрын
best thing about homebrew is not having to set PATH or run sudo on everything carelessly and end up chown'ing everything
@bigdeltaguy4572
@bigdeltaguy4572 4 жыл бұрын
dude this helped me so much thankyou soo much.
@jingyuchang1885
@jingyuchang1885 5 жыл бұрын
Thanks very much for another informative and extremely useful video.
@sweetimpala
@sweetimpala 5 жыл бұрын
CAn you kindly explain to me what this is for?
@leonardoegavaudan2813
@leonardoegavaudan2813 4 жыл бұрын
Thank you, great video
@aliaksandrhn1
@aliaksandrhn1 4 жыл бұрын
Terrific video, thank you!
@johnwinstondarby
@johnwinstondarby 2 жыл бұрын
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?
@imjvdn1458
@imjvdn1458 5 жыл бұрын
Thank you bro
@pandanamin7104
@pandanamin7104 4 жыл бұрын
You sir are a Python Knight! hehe
@jw7196
@jw7196 5 жыл бұрын
My mac terminal tells me "-bash: xcode-select: command not found" when I run "xcode-select --install" ☹️
@ambient.nostalgia
@ambient.nostalgia 4 жыл бұрын
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/
@ImJusWatching
@ImJusWatching 4 жыл бұрын
thanks for this!
@A_Catalyst
@A_Catalyst 5 жыл бұрын
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!
@alexbordei3951
@alexbordei3951 5 жыл бұрын
I am curious as well.
@jaygreg6329
@jaygreg6329 5 жыл бұрын
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?
@coreyms
@coreyms 5 жыл бұрын
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.
@jaygreg6329
@jaygreg6329 5 жыл бұрын
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.
@joeg816
@joeg816 5 жыл бұрын
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?
@Ghasakable
@Ghasakable 5 жыл бұрын
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!
@devope
@devope 3 жыл бұрын
14:05 Now it is `brew install --cask firefox`
@jamesmachacek1253
@jamesmachacek1253 4 жыл бұрын
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...
@todosniveles9406
@todosniveles9406 4 жыл бұрын
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?
@jscubillos
@jscubillos 10 ай бұрын
Thank so much!
@hayatasuenaga7028
@hayatasuenaga7028 3 жыл бұрын
Thanks this is very useful. But cask seems to be no longer a brew command...
@gevanlappido1304
@gevanlappido1304 5 жыл бұрын
Could you share your script you use to set up new machines? Great video, thank you 😃
@MagShell172
@MagShell172 4 жыл бұрын
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?
@Queenbelieveit
@Queenbelieveit 3 жыл бұрын
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...
@Shubham__Saroj
@Shubham__Saroj 2 жыл бұрын
Awesome
@ai.aspirations
@ai.aspirations 3 жыл бұрын
great!
@erickleefeld4883
@erickleefeld4883 3 жыл бұрын
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?
@carapungo
@carapungo 3 жыл бұрын
thanks for sharing bro. For Big Sur the search command should be brew formulae
@charlesbovalis6591
@charlesbovalis6591 4 жыл бұрын
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.
@ETHERSNOW
@ETHERSNOW 3 жыл бұрын
what is the colortheme you are using for your terminal
@naveen1261
@naveen1261 4 жыл бұрын
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
@totem168
@totem168 4 жыл бұрын
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.
@VulcanOnWheels
@VulcanOnWheels 4 жыл бұрын
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?
@dmr9366
@dmr9366 5 жыл бұрын
How can we take forensic image of macintosh drive using homebrew?
@iseeflowers
@iseeflowers 4 жыл бұрын
What is the difference of installing git with letting Mac install the default from the prompt and going to homebrew to install it ?
@Officialbalencii
@Officialbalencii 3 күн бұрын
I can’t seem to find the thing I downloaded
@erdiksha8104
@erdiksha8104 4 жыл бұрын
...brew comand not found..... Plz help me sir
@zackallen8759
@zackallen8759 3 жыл бұрын
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...
@frenchmike
@frenchmike 3 жыл бұрын
sorry bro, I am not clear on the diff between brew update and brew upgrade. it seems u said they both update our packages??
@yagoa
@yagoa 3 жыл бұрын
Is there a way to build from source with Homebrew if there is no brew specific repo on github?
@Angelic_voice1
@Angelic_voice1 2 жыл бұрын
hello please when it shows password, what password is it requesting ???
@jasonvictor1798
@jasonvictor1798 4 жыл бұрын
Can someone explain what symlinks are? and why home brew uses it?
@xderiwx
@xderiwx 2 жыл бұрын
Are there any downsides to using Homebrew?
@im.rakesh0827
@im.rakesh0827 3 жыл бұрын
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.
@varunpoondi2772
@varunpoondi2772 4 жыл бұрын
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?
@ShefTimi
@ShefTimi 4 жыл бұрын
Try "brew install emacs" to install emacs, since it's a formulae app
@ironthehardz
@ironthehardz 4 жыл бұрын
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
@ETHERSNOW
@ETHERSNOW 3 жыл бұрын
does anyone know what colortheme he is using for his terminal ?
@yanzhou677
@yanzhou677 3 жыл бұрын
brew cask install mypackage does not work anymore in my case, use brew install --cask mypackage instead.
@tmeryhewjsf35
@tmeryhewjsf35 3 жыл бұрын
Thank you
@jeanren6020
@jeanren6020 5 жыл бұрын
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 `'
@nicolashuyghe7730
@nicolashuyghe7730 3 жыл бұрын
Corey, brew cask home pycharm is not working anymore on the new version. Homebrew website recommends to us brew home --cask pycharm instead
@TripleYair
@TripleYair 5 жыл бұрын
How do I put my password in it won’t work
@asgharkhan4665
@asgharkhan4665 4 жыл бұрын
Did u figure out how to do it? please let me know how
@juno7424
@juno7424 4 жыл бұрын
@@asgharkhan4665 just type it and press enter, it wont show what you're typing. Its your computer's password.
@sevabratabose995
@sevabratabose995 4 жыл бұрын
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.
@Violet_Patrick
@Violet_Patrick 5 жыл бұрын
Is macos better for programming than windows? Or is it just a matter of branding and personal preference...
@coreyms
@coreyms 5 жыл бұрын
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.
@geethar797
@geethar797 Жыл бұрын
when i install homebrew it is saying session timed out
@rvb6516
@rvb6516 3 жыл бұрын
==> 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...
@haseebj3424
@haseebj3424 3 жыл бұрын
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!
@mahmoudezzel-dean7620
@mahmoudezzel-dean7620 5 жыл бұрын
is there is something like homebrew but for widows
@jaygreg6329
@jaygreg6329 5 жыл бұрын
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.
@coreyms
@coreyms 5 жыл бұрын
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
@nikhilt3755
@nikhilt3755 5 жыл бұрын
@@jaygreg6329 chocolatey install package_name using from few months
@aayush-
@aayush- 5 жыл бұрын
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
@ksonsouchou
@ksonsouchou 5 жыл бұрын
Its called Scoop kzbin.info/www/bejne/l2mYgn-Lf5WKmNU
@bedsheet61
@bedsheet61 2 жыл бұрын
i hit an error while installing homebrew. it says sudo access password
@danielosornio1891
@danielosornio1891 5 жыл бұрын
so whats the password that needs to be entered wont let me type anything in there? Corey Schafer
@matthewderespinis5266
@matthewderespinis5266 5 жыл бұрын
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
@TripleYair
@TripleYair 5 жыл бұрын
unknown uknowm what’s the key command on a keyboard?
@aryamanparpia4098
@aryamanparpia4098 3 жыл бұрын
did you find the solution?
@MISifan
@MISifan 3 жыл бұрын
How to install it for M1 mac?
@manishpundir6743
@manishpundir6743 4 жыл бұрын
plz help $ brew help bash: brew: command not found
@charan_75
@charan_75 4 жыл бұрын
Can you try this? /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install.sh)"
@kuponokealiinohomoku4095
@kuponokealiinohomoku4095 4 жыл бұрын
@@charan_75 mine makes me put in a password but I can't type anything in?
@Claudible
@Claudible 4 жыл бұрын
Kupono Kealiinohomoku Yes, you can. The terminal doesn’t show it but just type ahead and press Enter. You’ll see that it works.
@VSongu
@VSongu 4 жыл бұрын
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
@VSongu
@VSongu 4 жыл бұрын
any help guys
@christophercarr5865
@christophercarr5865 3 жыл бұрын
More advanced Linux users will often find Homebrew to be rather crappy, with questionable security decisions having been made.
@Sam-bn7jk
@Sam-bn7jk 3 жыл бұрын
it doesn't work, brew help command not found
@jeje7880
@jeje7880 4 жыл бұрын
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: $"
@asgharkhan4665
@asgharkhan4665 4 жыл бұрын
Can someone please tell me how to put in the password its not letting me type anything
@aryamanparpia4098
@aryamanparpia4098 3 жыл бұрын
did you find out? I have the same problem
@kalacestorm5255
@kalacestorm5255 4 жыл бұрын
mine doesnt download anything
@cruxinterfaces
@cruxinterfaces 5 жыл бұрын
Nice work, we will be at Knowledge Fest please check us out.
@vaishalisaini10
@vaishalisaini10 4 жыл бұрын
what is this password it demands? i am stuck at the password part
@CodyHvision
@CodyHvision 4 жыл бұрын
Your password to log into your Mac.
@2kmodz830
@2kmodz830 4 жыл бұрын
how do i enter my password ?
@morganziomek8976
@morganziomek8976 2 жыл бұрын
as well
@angeloc700
@angeloc700 4 жыл бұрын
Noooooo...don’t cut-paste commands from the Internet. Otherwise, great video!
@arturleperoke3205
@arturleperoke3205 3 жыл бұрын
using cask today it would be:
@MubarakMusse32
@MubarakMusse32 4 жыл бұрын
16/12/2020 brew search | wc -l 5379
@AbdulQayyum-zw8wc
@AbdulQayyum-zw8wc 3 жыл бұрын
i stuck at password
@aryamanparpia4098
@aryamanparpia4098 3 жыл бұрын
same
@AbdulQayyum-zw8wc
@AbdulQayyum-zw8wc 3 жыл бұрын
so what the password ?
@samibartu7433
@samibartu7433 4 жыл бұрын
No such file or directory
macOS Terminal (zsh) - The Beginners' Guide
30:51
Academind
Рет қаралды 226 М.
Интересно, какой он был в молодости
01:00
БЕЗУМНЫЙ СПОРТ
Рет қаралды 3,6 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 653 М.
Hidden FREE Mac Apps!
28:14
Snazzy Labs
Рет қаралды 202 М.
«Если 50 детей не рожу - ничего не добился»
1:26:17
Саша Сулим
Рет қаралды 2,2 МЛН
Everything you need to know about Homebrew
3:48
Learn Fast Make Things
Рет қаралды 42 М.
Absolute BEGINNER Guide to the Mac OS Terminal
17:03
Percy Grunwald from TopTechSkills
Рет қаралды 786 М.
The 1st thing to install on ANY Mac
16:02
Tech Craft
Рет қаралды 66 М.
How to Install Homebrew in a right way for Mac (macOS M1/M2/M3) With zsh
9:02
ProgrammingKnowledge2
Рет қаралды 58 М.
50 macOS Tips and Tricks Using Terminal (the last one is CRAZY!)
11:11
Git Tutorial for Beginners: Command-Line Fundamentals
30:33
Corey Schafer
Рет қаралды 2,2 МЛН
Homebrew: macOS Package Manager
12:21
Hands-On Mac
Рет қаралды 76 М.