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

  Рет қаралды 30,236

ProgrammingKnowledge2

ProgrammingKnowledge2

7 ай бұрын

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 ай бұрын
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 ай бұрын
Thanks alot. Worked Step-by-step
@memoriafiq
@memoriafiq 4 ай бұрын
thanks for this tutorial! managed to fix the issue.
@charlieplasman6140
@charlieplasman6140 5 ай бұрын
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 ай бұрын
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 Ай бұрын
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 Ай бұрын
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 ай бұрын
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 ай бұрын
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!
How to Install Homebrew on Mac | How to Install brew on macOS
9:02
ProgrammingKnowledge
Рет қаралды 19 М.
14 UNIQUE Mac Apps You Can’t Live Without!
17:04
Andrew Ethan Zeng
Рет қаралды 508 М.
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 17 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 57 МЛН
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 61 МЛН
The Ultimate Mac Terminal Setup - Beginner Tutorial
8:22
warpdotdev
Рет қаралды 249 М.
iOS 18 Hands-On: Top 5 Features!
12:47
Marques Brownlee
Рет қаралды 169 М.
How to setup your Mac Terminal to be beautiful
6:56
typecraft
Рет қаралды 207 М.
SAVE Your Mac And Your MONEY! External SSDs For Mac Explained
12:46
Kyle Erickson
Рет қаралды 422 М.
50 INCREDIBLE macOS Tips and Tricks in 14 Minutes!
14:29
Created Tech
Рет қаралды 184 М.
Homebrew: macOS Package Manager
12:21
Hands-On Mac
Рет қаралды 75 М.
Set up a Mac in 2024 for Power Users and Developers
1:00:34
Syntax
Рет қаралды 269 М.
Setting up M2 MacBook Air For Programming
16:28
Andres Vidoza
Рет қаралды 1,1 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 17 МЛН