Welcome to the Git installation guide! Below are the steps to install Git on your system.
System Requirements
Before installing Git, make sure your system meets the following requirements:
- Operating System: Windows, macOS, or Linux
- Internet Connection
Installation Steps
Windows
- Download the latest version of Git from the official website: Git for Windows.
- Run the installer and follow the instructions.
- Check the "Git from the command line and also from 3rd-party software" option.
- Complete the installation.
macOS
- Open the Terminal application.
- Run the following command to install Git via Homebrew:
brew install git
- Confirm the installation and wait for it to complete.
Linux
- If you are using Ubuntu or Debian-based distributions, run the following command:
sudo apt-get install git
- For Fedora or CentOS-based distributions, run:
sudo dnf install git
- For Arch Linux, run:
sudo pacman -S git
Verifying Installation
To verify that Git is installed correctly, open your terminal and run:
git --version
If Git is installed, you will see the version information.
Next Steps
Now that you have Git installed, you might want to check out our Git basics guide to get started with using Git.
Git Logo