installing Git

Putting the git program on a computer, which is done differently on each operating system.

In more detail

On Debian or Ubuntu you install the git-all package with apt, on Fedora with dnf, and on a Mac with Homebrew or the Xcode Command Line Tools. On Windows you use winget or the Git for Windows installer from git-scm.com. Running git --version afterwards proves the command is installed and on your path.

Examples

sudo apt install git-all
brew install git
winget install --id Git.Git -e
git --version

Related terms

Taught in

References