Simple Process
It's an easy peasy task to do, just prepare yourself with patience because the first step is quite a bit longer installation process. You will use just a few simple terminal commands.
Install Homebrew
The first and major one is to install Homebrew. Go to https://brew.sh and from the homepage copy main command and paste it into terminal.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
This first main process is the longest one and you'll wait for installing, downloading, and creating specific directories.
Your OS will ask you for Xcode Tools. To install just press RETURN to continue and enter your system login password. You will see this pop up on the right top side of your desktop then after.
And then just brief notice like this one.
You can see in terminal status info like this.
Downloading Command Line Tools for Xcode
Downloaded Command Line Tools for Xcode
Installing Command Line Tools for Xcode
Done with Command Line Tools for Xcode
Done.
After you'll be asked for entering system login password again and get notified in terminal about Homebrew installation process like this.
==> Downloading and installing Homebrew...
When the process is done you'll get notified in the terminal window with this message.
==> Next steps:
- Run `brew help` to get started
- Further documentation:
https://docs.brew.sh
Install Git
Now just type these two commands. You simply do this command brew install git.
brew install git
Check Git Version
When download and installation process will pass you can check the version of your git with git --version
git --version
Now it seems all is set. You'll see this in your terminal.
git version 2.24.3 (Apple Git-128)
Enjoy GitHub
After installation, you're ready to use GitHub smoothly. Wish you happy "GitHubing".
Thanks to Goran Ivos for the cover image from Unsplash.
Top comments (0)