How to install Git on any OS
Git can be installed on the most common operating systems like Windows, Mac, and Linux. In fact, Git comes installed by default on most Mac and Linux machines!
Checking for Git
Mac Git Download For Pc Windows 10
Atom is free to download and runs on Linux, OS X and Windows with support for plug-ins written in Node.js and embedded Git Control. It is based on Electron (formerly known as Atom Shell),a framework for building cross-platform apps using Chromium and Node.js. Note: git-scm is a popular and recommended resource for downloading Git on a Mac. The advantage of downloading Git from git-scm is that your download automatically starts with the latest version of Git. The download source is the same macOS Git Installer as referenced in the steps above. Install Git from Homebrew. Download git-cola The latest stable git-cola release is v3.7 release notes (2020-05-23) Windows: Mac OSX: Source: Git Source Repository Older Releases. Source Releases.
To see if you already have Git installed, open up your terminal application.
- If you're on a Mac, look for a command prompt application called 'Terminal'.
- If you're on a Windows machine, open the windows command prompt or 'Git Bash'.
Git for Mac Installer The easiest way to install Git on a Mac is via the stand-alone installer: Download the latest Git for Mac installer. Follow the prompts to install Git. Open a terminal and verify the installation was successful by typing git -version: $ git -version git version 2.9.2.
Once you've opened your terminal application, type
git version
. The output will either tell you which version of Git is installed, or it will alert you that git
is an unknown command. If it's an unknown command, read further and find out how to install Git.Install Git Using GitHub Desktop
Installing GitHub Desktop will also install the latest version of Git if you don't already have it. With GitHub Desktop, you get a command line version of Git with a robust GUI. Regardless of if you have Git installed or not, GitHub Desktop offers a simple collaboration tool for Git. You can learn more here.
Install Git on Windows
- Navigate to the latest Git for Windows installer and download the latest version.
- Once the installer has started, follow the instructions as provided in the Git Setup wizard screen until the installation is complete.
- Open the windows command prompt (or Git Bash if you selected not to use the standard Git Windows Command Prompt during the Git installation).
- Type
git version
to verify Git was installed.
Note:
git-scm
is a popular and recommended resource for downloading Git for Windows. The advantage of downloading Git from git-scm
is that your download automatically starts with the latest version of Git included with the recommended command prompt, Git Bash
. The download source is the same Git for Windows installer as referenced in the steps above.Install Git on Mac
Most versions of MacOS will already have
Git
installed, and you can activate it through the terminal with git version
. However, if you don't have Git installed for whatever reason, you can install the latest version of Git using one of several popular methods as listed below:Install Git From an Installer
- Navigate to the latest macOS Git Installer and download the latest version.
- Once the installer has started, follow the instructions as provided until the installation is complete.
- Open the command prompt 'terminal' and type
git version
to verify Git was installed.
Note:
git-scm
is a popular and recommended resource for downloading Git on a Mac. The advantage of downloading Git from git-scm
is that your download automatically starts with the latest version of Git. The download source is the same macOS Git Installer as referenced in the steps above.Install Git from Homebrew
Homebrew is a popular package manager for macOS. If you already have Homwbrew installed, you can follow the below steps to install Git:
- Open up a terminal window and install Git using the following command:
brew install git
. - Once the command output has completed, you can verify the installation by typing:
git version
.
Install Git on Linux
Fun fact: Git was originally developed to version the Linux operating system! So, it only makes sense that it is easy to configure to run on Linux.
You can install
Git
on Linux through the package management tool that comes with your distribution.Debian/Ubuntu
- Git packages are available using
apt
. - 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
. - Once the command output has completed, you can verify the installation by typing:
git version
.
Fedora
- Git packages are available using
dnf
. - To install Git, navigate to your command prompt shell and run the following command:
sudo dnf install git-all
. - Once the command output has completed, you can verify the installation by typing:
git version
.
Note: You can download the proper Git versions and read more about how to install on specific Linux systems, like installing Git on Ubuntu or Fedora, in git-scm's documentation.
Other Methods of Installing Git
Looking to install Git via the source code? Learn more here.
Contribute to this article on GitHub.
Get started with git and GitHub
Review code, manage projects, and build software alongside 40 million developers.
Sign up for GitHubSign inTeletype for Atom
Great things happen when developers work together—from teaching and sharing knowledge to building better software. Teletype for Atom makes collaborating on code just as easy as it is to code alone, right from your editor.
Share your workspace and edit code together in real time. To start collaborating, open Teletype in Atom and install the package.
GitHub for Atom
A text editor is at the core of a developer’s toolbox, but it doesn't usually work alone. Work with Git and GitHub directly from Atom with the GitHub package.
Create new branches, stage and commit, push and pull, resolve merge conflicts, view pull requests and more—all from within your editor. The GitHub package is already bundled with Atom, so you're ready to go!
Everything you would expect
Cross-platform editing
Atom works across operating systems. Use it on OS X, Windows, or Linux.
Install Git Bash On Mac
Built-in package manager
Search for and install new packages or create your own right from Atom.
Smart autocompletion
Atom helps you write code faster with a smart and flexible autocomplete.
File system browser
Easily browse and open a single file, a whole project, or multiple projects in one window.
Multiple panes
Split your Atom interface into multiple panes to compare and edit code across files.
Find and replace
Find, preview, and replace text as you type in a file or across all your projects.
Make it your editor
![Mac Mac](/uploads/1/2/6/3/126395258/908276631.jpg)
Packages
Choose from thousands of open source packages that add new features and functionality to Atom, or build a package from scratch and publish it for everyone else to use.
Themes
Atom comes pre-installed with four UI and eight syntax themes in both dark and light colors. Can't find what you're looking for? Install themes created by the Atom community or create your own.
Customization
It's easy to customize and style Atom. Tweak the look and feel of your UI with CSS/Less, and add major features with HTML and JavaScript.
See how to set up Atom
Under the hood
Atom is a desktop application built with HTML, JavaScript, CSS, and Node.js integration. It runs on Electron, a framework for building cross platform apps using web technologies.
Open source
Atom is open source. Be part of the Atom community or help improve your favorite text editor.
Keep in touch
GitHub | github.com/atom |
@AtomEditor | |
Chat | Slack |
Forum | Discuss |
Stuff | Atom Gear |
RSS Feed | Packages & Themes |