Download and install git on Linux, Windows, and Mac OSX

This time we are going to talk about downloading and installing git. There is going to be a separate episode on how to install on Windows, this is some generic overview.

All the slides and the specific slides about git installation.

Linu…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Gábor Szabó

This time we are going to talk about downloading and installing git. There is going to be a separate episode on how to install on Windows, this is some generic overview.

All the slides and the specific slides about git installation.

Linux

For RedHat, CentOS and similar yum-based Linux distributions:

sudo yum install git-core

For Ubuntu, Debian, and other apt- or deb-based Linux distributions:

sudo apt-get install git-core

You could also download the latest version of git from git-scm, but usually you are better off using
the version that is packaged by the vendor of your Linux distribution. It is usually better to use the standard package-management system
of your Linux distribution.

Of course, if you have a really, really old version of Linux then, ..., then yous should probably upgrade your Linux.

Well even in older versions of Linux you are still better off using git that was packaged by the vendor.

Windows

For Windows there will be a separate video and article, but I'd recommend downloading git from git-scm.

Apple Mac OSX

For Mac OSX you could also use the package from git-scm, but probably a better way is to
first install Homebrew and then that install git using:

brew install git

In case you are not familiar with it, Homebrew is a package management system for Mac OSX. It is like apt or yum for Linux. It's a tool to install all kinds of open source projects. You'll probably
need a lot more tools than just git, so that's why it is probably better to use Homebrew for git as well.


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Gábor Szabó


Print Share Comment Cite Upload Translate Updates
APA

Gábor Szabó | Sciencx (2022-12-06T19:28:00+00:00) Download and install git on Linux, Windows, and Mac OSX. Retrieved from https://www.scien.cx/2022/12/06/download-and-install-git-on-linux-windows-and-mac-osx/

MLA
" » Download and install git on Linux, Windows, and Mac OSX." Gábor SzabĂł | Sciencx - Tuesday December 6, 2022, https://www.scien.cx/2022/12/06/download-and-install-git-on-linux-windows-and-mac-osx/
HARVARD
Gábor SzabĂł | Sciencx Tuesday December 6, 2022 » Download and install git on Linux, Windows, and Mac OSX., viewed ,<https://www.scien.cx/2022/12/06/download-and-install-git-on-linux-windows-and-mac-osx/>
VANCOUVER
Gábor SzabĂł | Sciencx - » Download and install git on Linux, Windows, and Mac OSX. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/12/06/download-and-install-git-on-linux-windows-and-mac-osx/
CHICAGO
" » Download and install git on Linux, Windows, and Mac OSX." Gábor SzabĂł | Sciencx - Accessed . https://www.scien.cx/2022/12/06/download-and-install-git-on-linux-windows-and-mac-osx/
IEEE
" » Download and install git on Linux, Windows, and Mac OSX." Gábor SzabĂł | Sciencx [Online]. Available: https://www.scien.cx/2022/12/06/download-and-install-git-on-linux-windows-and-mac-osx/. [Accessed: ]
rf:citation
» Download and install git on Linux, Windows, and Mac OSX | Gábor SzabĂł | Sciencx | https://www.scien.cx/2022/12/06/download-and-install-git-on-linux-windows-and-mac-osx/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.