The 1st thing to install on ANY Mac

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024

Комментарии • 93

  • @sfuoncall
    @sfuoncall 2 года назад +27

    One thing that I think you should have mentioned is not to use the "sudo" command when running Homebrew.

    • @tech_craft
      @tech_craft  2 года назад +7

      Doh. Quite right. I'll pin this comment at the top.

    • @msimcox2
      @msimcox2 2 года назад

      this bites me every time

    • @tech_craft
      @tech_craft  2 года назад +3

      @@msimcox2 you are not alone, the muscle memory from using `sudo` with `apt` and `pacman` on Linux has bitten me with `brew` a few times.

    • @ZZ-ek7mx
      @ZZ-ek7mx 2 года назад +2

      @@tech_craft why what happens if you do use sudo command?

    • @tech_craft
      @tech_craft  2 года назад +4

      The permissions end up all screwed up with the root user owning a lot of the config files of the software you install. You also open up your computer to the possibility of malicious packages having root access.
      Best option is to uninstall and reinstall if you end up with a root install.

  • @robertmcdonnell5834
    @robertmcdonnell5834 5 дней назад +1

    Thank you sir. This was valuable content. Very useful.

  • @Thekidisalright
    @Thekidisalright Год назад +1

    I learn a lot from this video, I just hope you can spend some time to explain what cakebrew is and what is it for in more details, nonetheless its a great video.

  • @darlayoung834
    @darlayoung834 2 года назад +2

    Excellent video… just getting into the macOS world, so this is very well-timed! Thanks and welcome back!

    • @tech_craft
      @tech_craft  2 года назад

      Let me know how your journey goes. I’m always keen to hear what parts of Mac people are struggling with.

  • @Kenny.G63
    @Kenny.G63 Год назад +1

    Great video, have installed Homebrew after seeing it on a couple of other YT channels on my new iMac (first Mac). Yours is by the far the best description of how to install and use Homebrew and Cakebrew (something the other channels never mentioned), thanks for the detailed video.

  • @zestynotions
    @zestynotions 2 года назад

    homebrew is just essential I have found and could not do without it for the last few year and do see a change to that in the future.

  • @DavidJohnson-zv5ir
    @DavidJohnson-zv5ir 2 года назад

    Welcome back! Good to see and hear you again!

  • @techtipsuk
    @techtipsuk Год назад +1

    Wish you'd come back Rob, I really miss your content.

  • @WhenKittensATK1125
    @WhenKittensATK1125 Год назад

    Thank you for the guide. This was very helpful in getting started as a recent Mac OS convert.

  • @siddharthg8134
    @siddharthg8134 Год назад

    Perfect! Your video is awesome! It's a total no BS direct solution. Thank you!

  • @esidenealicha2171
    @esidenealicha2171 13 дней назад +1

    Thank you video was very helpful..... bravo

  • @Edditoria
    @Edditoria 2 года назад

    Here are some commands I use often:
    brew leaves # for formulae
    brew list --cask # for applications
    brew uses --installed [formula] # to understand dependency
    brew autoremove # after uninstall formula and understanding the dependency

  • @meokeo
    @meokeo 2 года назад

    Nice that you're back!

  • @cleargolam
    @cleargolam 2 года назад +1

    What have you done to make your Terminal looking only > This is useful to make it clutter free. Please tell the steps.

  • @mcal27
    @mcal27 2 года назад

    welcome back!! quite strange, another channel I was watching a couple of days ago mentioned one of your posts, I thought ‘oh yeah what happened to that channel’ and here you are :)

    • @tech_craft
      @tech_craft  2 года назад

      Thanks! Which channel was that?

    • @DavidJohnson-zv5ir
      @DavidJohnson-zv5ir 2 года назад +1

      I’ve also seen a couple of videos that reference your iPad to RPi video. One of them is ruclips.net/video/uyF_4NO3JQI/видео.html. It was a great concept that’s I’m starting to make better use of by setting up Kali PiTail on a Raspberry Pi Zero 2W. I’m also looking forward to new iPad and/or Raspberry Pi videos. Welcome back!

    • @mcal27
      @mcal27 2 года назад

      @@tech_craft ruclips.net/video/h-dh2L3X2bs/видео.html he's doing a project connecting a Pi to an ipad similar to your video from awhile back

    • @tech_craft
      @tech_craft  2 года назад +1

      @@mcal27 Great. Lots of interesting developments in the iPad coding space in the last year or so. With VSCode Remote getting real attention, and with code-server running on RPi there are plenty of interesting options.

    • @mcal27
      @mcal27 2 года назад

      @@tech_craft you are just the guy to show us! ;)

  • @AliBuchan
    @AliBuchan Год назад

    Thank you for the video, very helpful.

  • @MaduraiKallan
    @MaduraiKallan Год назад

    Extraordinary content! Very useful!!😃

  • @anthonydelagarde3990
    @anthonydelagarde3990 4 месяца назад

    Thank you

  • @ZenityStudios
    @ZenityStudios 6 месяцев назад

    nice video, thanks

  • @simonemedori
    @simonemedori 2 года назад +1

    welcome back!

  • @techtipsuk
    @techtipsuk 2 года назад

    Just moving back to Mac, I’ve been in the Windows wilderness since 2017. Always loved the OS it’s just Apple stopped launching hardware at the time. I’ll definitely give this a try on my new Mac studio.

    • @tech_craft
      @tech_craft  2 года назад

      Welcome back! What brings you back to the Mac?

    • @techtipsuk
      @techtipsuk Год назад

      Better late than never. Apple silicon and the hardware. In 2017 they just seemed focused on the phone and laptops. I left before the iMac Pro was launched and there had been very little on the hardware side for years.

  • @wilmercastro4365
    @wilmercastro4365 27 дней назад

    Maybe you can provide me with some guidance, I installed homebrew in my Mac, I am trying to find a way to close certain apps when the system goes to sleep (mainly to save battery). I tried using sleepwatcher using different configurations, but it's not working

  • @frozenheart4855
    @frozenheart4855 Год назад

    no doubt great video

  • @valentinsalcianu2702
    @valentinsalcianu2702 8 месяцев назад

    very helpfull !!

  • @NamasenITN
    @NamasenITN 2 года назад

    The title(s) or the video(s) could be a bit more descriptive. The content of your channel is, in my humble opinion, NOT of low quality and thus it does NOT need clickbaits.

    • @tech_craft
      @tech_craft  2 года назад

      Thanks for the feedback.

  • @RealJonzuk
    @RealJonzuk Год назад

    WTF homebrew sounds powerful

    • @tech_craft
      @tech_craft  Год назад

      It's great - I've been using it for well over ten years now and have no real complaints.

  • @ditchcomfort
    @ditchcomfort Год назад

    I enjoy your content and use brew myself. However, I’m perhaps a little weird but I usually like to install my apps (casks) from the official website… but I use brew for everything else like CLI tools, etc. Perhaps I’m just stupid or doing more work to install things, I don’t know.
    Btw, if I remember correctly, you’re a emacs user? Do you have any videos getting started with emacs on the Mac? Or any guides how you set up and perhaps a basic config..?

    • @tech_craft
      @tech_craft  Год назад

      I have a Mac/Emacs setup video on my backlog, but nothing on the channel yet.

    • @ditchcomfort
      @ditchcomfort Год назад

      @@tech_craft Okey thank you very much.

  • @nightxadventure6649
    @nightxadventure6649 Месяц назад

    homebrew taking 24hours to install package ,.:)

  • @MichaelAlderete
    @MichaelAlderete 2 года назад

    Rob, do you use the stock Terminal application (with OMZsh and Starship), or do you have a preferred replacement?

    • @tech_craft
      @tech_craft  2 года назад +1

      I’m using Kitty with Starship. I used iTerm2 for years, another great option. I really like the minimal look of Kitty and the speed it very welcome.

  • @hieuphan9781
    @hieuphan9781 2 года назад

    when i copy paste the link in the terminal i cant fill in my password, help?

    • @tech_craft
      @tech_craft  2 года назад

      You won't see any characters appear when typing in the password, but it is working. Very frustrating.

  • @exegeteio
    @exegeteio 2 года назад +3

    Please don't copy/paste commands from the internet. -_-

    • @tech_craft
      @tech_craft  2 года назад +6

      I appreciate the sentiment of this but there's a lot of nuance to this issue. Copy and pasting from Homebrew is a lot different from copy-and-paste from some random forum.
      You also have to consider your own personal threat model. My model assumes that copy-paste once from a trusted site is a lot better than the inevitable copy-paste from hundreds of different sites to install all the different packages.

  • @pratikshabhatiaMusic
    @pratikshabhatiaMusic 2 года назад

    niceee :)

    • @pratikshabhatia5019
      @pratikshabhatia5019 2 года назад

      Could you plz help me with this shortcut I made Rob. When the pdf is generated, all the images used become blurry. The photos are actually very clear. I use in sharesheet

    • @pratikshabhatia5019
      @pratikshabhatia5019 2 года назад

      I’m unable to upload the link.. please can you check your Instagram DM

    • @pratikshabhatia5019
      @pratikshabhatia5019 2 года назад

      Please ROB 🙏🏻

  • @manwe_sulimo
    @manwe_sulimo 2 года назад

    I’m sure you know Neovim >> emacs, right? Haha

    • @tech_craft
      @tech_craft  2 года назад

      I mostly agree, expect for org-mode. I'm using Doom Emacs which runs evil-mode so it's _almost_ the best of both worlds.

  • @oladipoadeeko8850
    @oladipoadeeko8850 Год назад

    I am unable to install Homebrew
    See Error Below.
    ###----------------------------------------------------------
    ==> /usr/bin/sudo /usr/sbin/chown -R mac:admin /usr/local/Homebrew
    ==> Downloading and installing Homebrew...
    Updating files: 100% (2975/2975), done.
    HEAD is now at 4b3d64d30 Merge pull request #14453 from Rylan12/languages-in-cask-api
    error: Not a valid ref: refs/remotes/origin/master
    fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
    Use '--' to separate paths from revisions, like this:
    'git [...] -- [...]'
    error: 7517 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output
    Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed!
    fatal: invalid upstream 'origin/master'
    ==> Downloading ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:1f50bf80583bd436c9542d4fa5ad47df0ef0f0bea22ae710c4f04c42d7560bca
    Already downloaded: /Users/mac/Library/Caches/Homebrew/portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz
    ==> Pouring portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz
    Failed during: /usr/local/bin/brew update --force --quiet
    Please help!!!

  • @cleargolam
    @cleargolam 2 года назад +8

    Your explanations are clear, to the point. Could you make more videos like this for newbies about macOS hard disk, file format, how it is different from Windows making C, D etc drive. How to connect an old perfectly working Bamboo Wacom tablet that apple just made it obsolete, though it works fine in linux.

  • @Usammityduzntafraidofanythin
    @Usammityduzntafraidofanythin Год назад +1

    I tried installing homebrew through terminal, and it won't let me type in my system password.
    EDIT: IF you guys have that problem, it actually reads what you type, it just doesn't show it on screen (masked or otherwise). Weird design decision, imo. Just a heads up to other people.

  • @easy10
    @easy10 23 дня назад

    If you plan to use Homebrew for managing Python installations, should you uninstall the pre-installed version on your Mac?

  • @sphinxgadgets4397
    @sphinxgadgets4397 Год назад

    Macports is much better. Homebrew is Macports slovenly hipster cousin.

  • @Mehmehx
    @Mehmehx 2 года назад +2

    great video! As a "noob" how can I find brew commands? is there a manual?
    I think the hardest part of terminal in general is knowing commands. I can navigate pretty well but searching and "knowing" commands are harder.
    like, now I know the commands you told me, but how do I know others commanda and what the apps you installed actually do? Firefox is easy, but "wget", I'd have to google that for example

    • @tech_craft
      @tech_craft  2 года назад +3

      For sure. You can get a summary with `brew help` and then each command can give further help so, `brew help install` for example.
      There is an extensive manual online at: docs.brew.sh/

  • @theorangecircle1066
    @theorangecircle1066 2 года назад +2

    Welcome back Rob. Excited for more of your content. appreciate you sharing your knowledge with us.

  • @Fishd1
    @Fishd1 2 года назад +1

    I won’t touch homebrew with a barge pole. Yes it’s simple, yes it can be useful, but it can screw up your local Python settings, it’s a security risk and the project have turned out to be pretty toxic towards the professional Mac management community.
    I’ve been using Jeff Geerling’s Ansible playbook ( ruclips.net/video/1VhPVu5EK5o/видео.html ) for configuring my Mac, as learning Ansible will also help you for wider infrastructure tasks.

    • @tech_craft
      @tech_craft  2 года назад

      Have you tried Nix and NixOS? I'm seriously thinking of moving from Arch to NixOS on the Linux side.
      I did run Nix on the Mac for about ~4 months but I always felt like I was going against the grain.

  • @ernestgalvan9037
    @ernestgalvan9037 2 года назад +2

    …. “==>. Home brew is run entirely by unpaid volunteers. Please consider donating: …”
    I have NEVER seen a RUclipsr talk about donating to the authors of software that they use, many times using the software to help them create their RUclips content and make $$$.
    - i -s

  • @kennymc.c
    @kennymc.c 2 года назад

    I also use brewlet which can auto-update all installed formulars. Since the latest update it also works with casks.

  • @NyaNya4ever
    @NyaNya4ever 2 года назад

    Why when I key in brew list, it appears ==> Formulae instead of ==> Cask

    • @tech_craft
      @tech_craft  2 года назад +1

      Brew has two kinds of packages: formulae and casks. List should show two sections, one for each of the package kinds.

  • @ThinkingBoutMusic
    @ThinkingBoutMusic Год назад

    Thank you! As a previous Windows/Ubuntu user who just got my first Mac, this was incredibly helpful and I now feel much more comfortable in this new system. Saw this a bit too late though and I already painstakingly installed a bunch of applications the "normal" mac way, oops

  • @ditchcomfort
    @ditchcomfort Год назад

    Doesn’t emacs run much better/faster as a service/command line?

    • @tech_craft
      @tech_craft  Год назад

      It definitely makes sense to run emacs as a service/daemon and then connect to it using `emacsclient`.
      This works by default with HomeBrew install of Emacs.
      You can certainly use Emacs in the terminal as well, but I much prefer to use the GUI mode. There's a lot of extra features and it's a smoother experience on both Mac and Linux.

  • @LastGunslingerTull
    @LastGunslingerTull Год назад

    More channels need to talk about MacPorts, it’s twice as stable and offers a lot more variety in features

    • @tech_craft
      @tech_craft  Год назад

      I'm starting to get serious about moving to Nix on all my machines - my Christmas vacation project is to really understand Nix and hopefully make a video on it in the future.

  • @neils132
    @neils132 2 года назад

    Welcome back Rob, glad to hear from you again!

  • @MrPtrma
    @MrPtrma 2 года назад

    Hi Rob, would like your comment on Macports vs Homebrew. Thanks. Missed your tutorials ;)

    • @tech_craft
      @tech_craft  2 года назад

      It's been a long while since I used Macports but I remember it needing root access, which Homebrew doesn't, and I remember it always compiling from source which meant it was a little slower.
      That said, both are good solutions, and better to use one of them rather than none of them!

    • @MrPtrma
      @MrPtrma 2 года назад

      @@tech_craft thank you. That makes sense. My company does not provide either of these solutions so I need sudo to start in both cases :( the only program I really need is mpich for scientific computing and compiling from source might result in more optimized binary. I will give homebrew a try.

  • @choeseongkyun2183
    @choeseongkyun2183 2 года назад

    Good video. thank you.

  • @tuffhale7
    @tuffhale7 2 года назад

    do you have a video about doing a clean install on your mac?

    • @tech_craft
      @tech_craft  2 года назад +1

      It's on my list to film one.

  • @replicant3888
    @replicant3888 2 года назад

    Welcome back, love your content! Using Homebrew to manage macOS GUI apps is something I had never thought about, but since I tend to archive all the installers, do you know if there is a way to retain the downloaded .dmg files? Thanks!

    • @tech_craft
      @tech_craft  2 года назад

      Thanks!
      Homebrew retains all install packages by default because they might be needed. You can find them in the cache directory with this command:
      find -E "$(brew --cache)" -type f -regex '.*\.(dmg|pkg|zip)'

  • @MehmetKozal
    @MehmetKozal Год назад

    Thanks man

  • @jackyryan5226
    @jackyryan5226 2 года назад

    Perfect timing with my new M1 Mac Mini!

    • @tech_craft
      @tech_craft  2 года назад

      I’m jealous! How is it? My Mac Mini is 10 years old now and has finally exited OS support so I’ll be finding a good project for recycling it.

  • @leromerom
    @leromerom 2 года назад +1

    Homebrew vs using Docker? What are your thoughts…

    • @tech_craft
      @tech_craft  2 года назад +5

      Good question. I use both plus asdf/sdkman. Homebrew I use for most utilities and tools, things like vim, emacs, syncthing, jq, git etc.
      I use Docker for 'server'-type stuff, things like PostgreSQL, envoy, nginx and so on.
      Then I also use asdf/sdkman for software where I need to run multiple versions in parallel. For my job I need multiple versions of Java, Go, NodeJS etc, and asdf is great for that. I install asdf using Homebrew!