0% found this document useful (0 votes)
3 views1 page

Deb Macos

The document provides instructions for installing Homebrew on macOS, starting with the requirement to have Command Line Tools for Xcode installed. It details the installation command for Homebrew, how to add it to the PATH, and the steps to install Git along with configuring user information. Additionally, it includes commands to verify the installation of Git.

Uploaded by

Debayan Raha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Deb Macos

The document provides instructions for installing Homebrew on macOS, starting with the requirement to have Command Line Tools for Xcode installed. It details the installation command for Homebrew, how to add it to the PATH, and the steps to install Git along with configuring user information. Additionally, it includes commands to verify the installation of Git.

Uploaded by

Debayan Raha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

https://sourabhbajaj.

com/mac-setup/Homebrew/

- Before you can run Homebrew you need to have the Command Line Tools for Xcode
installed.

- Install Homebrew
Terminal> /bin/bash -c "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

==> The Xcode Command Line Tools got installed.


>brew --version
>brew help
>brew doctor

- add Homebrew to your PATH:


>$PATH

echo >> /Volumes/DMac/deb/.zprofile


echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >>
/Volumes/DMac/deb/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

- Install Git
>brew install git

>git config --global user.name "Debayan Raha"


>git config --global user.email "[email protected]"

>
>git config --get user.email

>which git
>Whereis git

You might also like