The 1st thing to install on ANY Mac

Поділитися
Вставка
  • Опубліковано 1 жов 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.

  • @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.

  • @robertmcdonnell5834
    @robertmcdonnell5834 9 днів тому +1

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

  • @esidenealicha2171
    @esidenealicha2171 17 днів тому +1

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

  • @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.

  • @ernestgalvan9037
    @ernestgalvan9037 2 роки тому +2

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

  • @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.

  • @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/

  • @techtipsuk
    @techtipsuk Рік тому +1

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

  • @theorangecircle1066
    @theorangecircle1066 2 роки тому +2

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

  • @wilmercastro4365
    @wilmercastro4365 Місяць тому

    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

  • @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.

  • @easy10
    @easy10 26 днів тому

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

  • @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.

  • @nightxadventure6649
    @nightxadventure6649 2 місяці тому

    homebrew taking 24hours to install package ,.:)

  • @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.

  • @sphinxgadgets4397
    @sphinxgadgets4397 Рік тому

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

  • @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 ( ua-cam.com/video/1VhPVu5EK5o/v-deo.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.

  • @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.

  • @ZenityStudios
    @ZenityStudios 6 місяців тому

    nice video, thanks

  • @siddharthg8134
    @siddharthg8134 Рік тому

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

  • @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

  • @simonemedori
    @simonemedori 2 роки тому +1

    welcome back!

  • @WhenKittensATK1125
    @WhenKittensATK1125 Рік тому

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

  • @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

  • @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.

  • @anthonydelagarde3990
    @anthonydelagarde3990 4 місяці тому

    Thank you

  • @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.

  • @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.

  • @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.

  • @AliBuchan
    @AliBuchan Рік тому

    Thank you for the video, very helpful.

  • @MaduraiKallan
    @MaduraiKallan Рік тому

    Extraordinary content! Very useful!!😃

  • @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.

  • @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.

  • @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.

  • @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.

  • @neils132
    @neils132 2 роки тому

    Welcome back Rob, glad to hear from you again!

  • @DavidJohnson-zv5ir
    @DavidJohnson-zv5ir 2 роки тому

    Welcome back! Good to see and hear you again!

  • @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

  • @valentinsalcianu2702
    @valentinsalcianu2702 8 місяців тому

    very helpfull !!

  • @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.

  • @frozenheart4855
    @frozenheart4855 Рік тому

    no doubt great video

  • @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.

  • @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.

  • @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.

  • @choeseongkyun2183
    @choeseongkyun2183 2 роки тому

    Good video. thank you.

  • @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.

  • @meokeo
    @meokeo 2 роки тому

    Nice that you're back!

  • @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.

  • @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.

  • @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 ua-cam.com/video/uyF_4NO3JQI/v-deo.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 ua-cam.com/video/h-dh2L3X2bs/v-deo.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! ;)

  • @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 🙏🏻

  • @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!

  • @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!!!