How to Install Homebrew in a right way for Mac (macOS M1/M2/M3) With zsh

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2023
  • Installing Homebrew on your Mac is a fantastic way to simplify package management and enhance your experience with additional software. In this step-by-step tutorial, we'll guide you through the process of installing Homebrew on macOS using the zsh shell. Whether you're new to Mac or a seasoned user, this guide is designed for everyone.
    *1. Open Terminal:*
    Begin by opening the Terminal on your Mac. You can find it by searching for "Terminal" in Spotlight or navigating to Applications - Utilities - Terminal.
    *2. Install Homebrew:*
    Paste the following command in the Terminal and press Enter to start the Homebrew installation:
    ```bash
    /bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Hom...)"
    ```
    This command will download and execute the Homebrew installation script.
    *3. Follow the On-Screen Instructions:*
    During the installation, you may be prompted to install the Xcode Command Line Tools. Follow the on-screen instructions to proceed with the installation.
    *4. Add Homebrew to zsh Profile:*
    If you're using the zsh shell, you need to add Homebrew to your zsh profile. Open your zsh configuration file by running:
    ```bash
    nano ~/.zshrc
    ```
    Add the following line at the end of the file:
    ```bash
    eval "$(/opt/homebrew/bin/brew shellenv)"
    ```
    Save the file and exit by pressing `Ctrl + X`, then `Y`, and finally `Enter`.
    *5. Restart zsh or Source the zshrc File:*
    Restart zsh or source your updated zsh configuration by running:
    ```bash
    source ~/.zshrc
    ```
    *6. Test Homebrew Installation:*
    To ensure Homebrew is installed correctly, run:
    ```bash
    brew --version
    ```
    This should display the version number of Homebrew, indicating a successful installation.
    Congratulations! You've successfully installed Homebrew on your Mac using the zsh shell. Now you can use Homebrew to easily install and manage various packages and software on your macOS system.
    Don't forget to like this video, share it with others who might find it helpful, and subscribe for more Mac-related tips and tutorials!
    *Hashtags:*
    #MacUsers #Homebrew #MacOS #TechTutorial #TerminalCommands #PackageManagement #TechForEveryone #ZshShell #TechGuide #DigitalProductivity #TechHelp #MacOSGuide #CommandLineTools #TechSolutions #MacApps #TechEnthusiast #HomebrewInstallation #ZshProfile #TechDIY #SoftwareManagement

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

  • @victoriasamson4502
    @victoriasamson4502 3 месяца назад +2

    You’re genius,I’m zero knowledge but you helped me with your simple steps but effective and I finally got it. Thank you very much and please keep it up ❤

  • @adityaathiratha6104
    @adityaathiratha6104 5 месяцев назад +1

    Thanks alot. Worked Step-by-step

  • @memoriafiq
    @memoriafiq 4 месяца назад +1

    thanks for this tutorial! managed to fix the issue.

  • @charlieplasman6140
    @charlieplasman6140 5 месяцев назад +1

    So helpful, thanks a lot for this gem !

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

    Perfect. Thank you so much.

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

    Great job, you help me a lot, thank you!

  • @andrewcroxall1416
    @andrewcroxall1416 4 месяца назад +2

    Literally just self starting coding and came across your vids, no experience what so ever
    I load visual studio stuff in a fashion, then home brew, you have to listen. I put a path insted of export $PATH in the command line, but I realise I can change it in command. line so I didn't keep getting INCONSISTENT TYPE FOR ASSIGNMENT NOW homebrew installed thank you love the video keep it up with other stuff like this how to load up the packages etc. I if I can do it at age 59, get the picture and I don't have that much computor experience. I just play video over and over rewind rewind you will get it.

  • @AnkitKumar-jo1wy
    @AnkitKumar-jo1wy Месяц назад +2

    Awesome, Nicely explained each and every step 😍

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

    bro thanks you’re a time saver ❤

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

    Thank you my man, i spent way too much time trying to figure out why its not working!

  • @saqlainsiddiqi
    @saqlainsiddiqi 5 месяцев назад

    Thank You for the help.🤩

  • @sadikmemon371
    @sadikmemon371 2 месяца назад

    You are great, very easily you guided and its done for me, Thanks a lot

  • @SappyVespidae
    @SappyVespidae 2 месяца назад

    It worked!! Thank you so so much!!

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

    Very helpful thank you.

  • @juanaguirre3702
    @juanaguirre3702 16 дней назад

    Exactly what I needed. Thanks

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

    thanx mate it worked!!

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

    you is a hero, thank you

  • @javiers.996
    @javiers.996 4 месяца назад +1

    Very helpful my friend.
    Greetings from Mexico.

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

    Thank you for your guide

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

    oh bro thank u sooo much for tutorial
    i did all step by step and i made it

  • @mariana_stashkiv
    @mariana_stashkiv 5 месяцев назад

    Thank you so much 🙂

  • @venugopal1831
    @venugopal1831 2 месяца назад

    Superb sir thank you sort it out problem

  • @matiasperezlavooy6363
    @matiasperezlavooy6363 5 месяцев назад +1

    TE AMO MI AMIGO. BENDICIONES

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

    Thanks a lot !

  • @dungnguyen-si2sz
    @dungnguyen-si2sz 2 месяца назад

    my kinggggg, thank you so muchhhh

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

    thank you!

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

    Great explanation Cheers. In addition please do read the WARNING note if you get it as you may need to change your file path if this video doesnt work for you. It will read - Warning: /opt/homebrew/bin is not in your PATH.
    Instructions on how to configure your shell for Homebrew can be found in the 'Next steps' section below.

  • @EmmanuelPableo
    @EmmanuelPableo 2 дня назад

    great help, thank you

  • @clar331
    @clar331 5 месяцев назад

    worked perfectly, thank you :)!

    • @issansabimana5122
      @issansabimana5122 5 месяцев назад

      Hello how did you put your password? cuz I tried to tap my password but I don't see anything

    • @clar331
      @clar331 5 месяцев назад

      @@issansabimana5122 I just typed it in, youre not going to see any characters then press enter

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

      @@issansabimana5122when the password pops up just type your password

  • @carolinapatricia7313
    @carolinapatricia7313 5 месяцев назад

    thank u!!!

  • @tonytony-fc6gq
    @tonytony-fc6gq 2 месяца назад

    THANK YOU THANK YOU very much

  • @devBotPlus
    @devBotPlus 2 месяца назад

    Hi thanks for the video, Don't you think the we should run the two commands suggested by homebrew installation at the end, that would have done the job. what is the difference between .zprofile and .zshrc

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

    You saved my life man 🙏

    • @issansabimana5122
      @issansabimana5122 5 месяцев назад

      Hello how did you put your password? cuz I tried to tap my password but I don't see anything

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

      Password is hidden

  • @user-ky4zv1sk1f
    @user-ky4zv1sk1f 4 месяца назад

    thanks

  • @DesignbyBK
    @DesignbyBK 5 месяцев назад

    thanks for the help!

    • @issansabimana5122
      @issansabimana5122 5 месяцев назад

      Hello how did you put your password? cuz I tried to tap my password but I don't see anything

    • @DesignbyBK
      @DesignbyBK 5 месяцев назад

      @@issansabimana5122 When you put password in terminal you don't see anything. You just put password that you use to put on a lock screen of your mac. This could be different from your apple id.

    • @DesignbyBK
      @DesignbyBK 5 месяцев назад

      @@issansabimana5122 while you'd type your password the prompt would remain blank. Once you've wrote the password just hit enter/return key.

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

    great. Thank you so much.

    • @issansabimana5122
      @issansabimana5122 5 месяцев назад

      Hello how did you put your password? cuz I tried to tap my password but I don't see anything

    • @khangluonguc5187
      @khangluonguc5187 5 месяцев назад

      That's right, Apple's mechanism will not see the password when you type it into the terminal.@@issansabimana5122

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

    Golden

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

    te tqm mucho

  • @AnimasaunOladipupo
    @AnimasaunOladipupo 5 месяцев назад

    Can't find the link you said you would give.... I'm stuck at the zshrc file 😢

  • @alexwaterson-rosso2676
    @alexwaterson-rosso2676 7 месяцев назад

    It worked!!!!!!!!!!!

    • @issansabimana5122
      @issansabimana5122 5 месяцев назад

      Hello how did you put your password? cuz I tried to tap my password but I don't see anything

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

      Hidden password is blank

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

    I have a M2 and I get this error: Homebrew on Linux is not supported on ARM processors. what do I need to do to make it work?

  • @sushmeetsase985
    @sushmeetsase985 6 дней назад

    everything worked out but final command brew help did not executed.
    using MacBook m3 pro chip
    please help

  • @JohnSmith-lu4me
    @JohnSmith-lu4me 2 месяца назад

    Is it possible to install homebrew on External SSD drive? I'm using MAC Mini M1. Please let me know, I need an answer. Thank you!

  • @maelg3943
    @maelg3943 25 дней назад

    the best

  • @Iamlordmanu
    @Iamlordmanu 3 месяца назад

    once i input the code source .zshrc its says unmatched why?

  • @CyouNtee
    @CyouNtee 2 месяца назад

    Noob here. Seeing all the hidden files on the home directory scared me. If i want to uninstall zsh is there a safe way to uninstall the files from the directory?

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

    After typing source .zshrc i get this .zshrc:export:1: path: inconsistent type for assignment

  • @Krish-zx5rh
    @Krish-zx5rh 7 месяцев назад

    Bro i need ur help

  • @nnnnnnnin
    @nnnnnnnin 5 месяцев назад

    This is the video which only helps you if you have m2/m3 macbook.

  • @AnimToonDK-uv2hn
    @AnimToonDK-uv2hn 22 дня назад

    I have stuck in source .zshrc ..... please I need a replay first

  • @user-vx7im2os7k
    @user-vx7im2os7k Месяц назад

    🎉

  • @Krish-zx5rh
    @Krish-zx5rh 7 месяцев назад

    On old video

  • @Krish-zx5rh
    @Krish-zx5rh 7 месяцев назад

    On telegram

  • @wilsonliang1453
    @wilsonliang1453 3 месяца назад

    thank you!