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
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 ❤
Thanks alot. Worked Step-by-step
thanks for this tutorial! managed to fix the issue.
So helpful, thanks a lot for this gem !
Perfect. Thank you so much.
Great job, you help me a lot, thank you!
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.
Awesome, Nicely explained each and every step 😍
bro thanks you’re a time saver ❤
Thank you my man, i spent way too much time trying to figure out why its not working!
Thank You for the help.🤩
You are great, very easily you guided and its done for me, Thanks a lot
It worked!! Thank you so so much!!
Very helpful thank you.
Exactly what I needed. Thanks
thanx mate it worked!!
you is a hero, thank you
Very helpful my friend.
Greetings from Mexico.
Thank you for your guide
oh bro thank u sooo much for tutorial
i did all step by step and i made it
Thank you so much 🙂
Superb sir thank you sort it out problem
TE AMO MI AMIGO. BENDICIONES
Thanks a lot !
my kinggggg, thank you so muchhhh
thank you!
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.
great help, thank you
worked perfectly, thank you :)!
Hello how did you put your password? cuz I tried to tap my password but I don't see anything
@@issansabimana5122 I just typed it in, youre not going to see any characters then press enter
@@issansabimana5122when the password pops up just type your password
thank u!!!
THANK YOU THANK YOU very much
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
You saved my life man 🙏
Hello how did you put your password? cuz I tried to tap my password but I don't see anything
Password is hidden
thanks
thanks for the help!
Hello how did you put your password? cuz I tried to tap my password but I don't see anything
@@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.
@@issansabimana5122 while you'd type your password the prompt would remain blank. Once you've wrote the password just hit enter/return key.
great. Thank you so much.
Hello how did you put your password? cuz I tried to tap my password but I don't see anything
That's right, Apple's mechanism will not see the password when you type it into the terminal.@@issansabimana5122
Golden
te tqm mucho
Can't find the link you said you would give.... I'm stuck at the zshrc file 😢
It worked!!!!!!!!!!!
Hello how did you put your password? cuz I tried to tap my password but I don't see anything
Hidden password is blank
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?
everything worked out but final command brew help did not executed.
using MacBook m3 pro chip
please help
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!
the best
once i input the code source .zshrc its says unmatched why?
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?
After typing source .zshrc i get this .zshrc:export:1: path: inconsistent type for assignment
Bro i need ur help
This is the video which only helps you if you have m2/m3 macbook.
I have stuck in source .zshrc ..... please I need a replay first
🎉
On old video
On telegram
thank you!