Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update Git to Latest Version (mac)

Tags:

git

macos

I'm running Git version 1.6.5.1. The binary is sitting in /usr/local/git/bin. Is there an easy way to update to the latest version?

like image 777
Chad Avatar asked Jan 27 '11 19:01

Chad


People also ask

How do I update Git on Mac?

The easiest way to update Git on Mac is to use the official installer. Download the installation file from the Git website. Run the installation and follow the install wizard to update Git to the latest version. Note: Using the install wizard to update Git overwrites the current installation.

What is the latest git version for Mac?

The latest version is 2.33.0, which was released about 1 year ago, on 2021-08-30.

How do I check Git version on Mac?

Check your version of Git You can check your current version of Git by running the git --version command in a terminal (Linux, macOS) or command prompt (Windows).

How do I install the latest version of Git?

It's a good idea to make sure you're running the latest version. To do so, Navigate to your command prompt shell and run the following command to make sure everything is up-to-date: sudo apt-get update . To install Git, run the following command: sudo apt-get install git-all .


2 Answers

I ended up just installing homebrew.

like image 79
Chad Avatar answered Sep 20 '22 14:09

Chad


From the Git README file:

UPGRADING

Simply download the latest Git installer, run the provided uninstall.sh script, and then install as normal.

Download and install from Git's website

like image 33
Will Nielsen Avatar answered Sep 17 '22 14:09

Will Nielsen