DEV Community


Posted on

Git On Linux

Git, that one thing that is like GitHub but in the terminal. Well, have you wondered how to install git on Linux? Well in 3 easy steps you can


#1. Open up the terminal
#2. Run this command: sudo apt install git
#3. Verify it by running this command: git --version

You need linux to do this, run the command git for a list of commands you can do with git

Top comments (3)

adithyarafk profile image

I did like git cli on Linux before but it is productivity drainer now. I prefer using the git SCM integrated with vs code. I find myself commiting more often this way and also am easily track individual file changes across projects. It's gives a nice diff btw two versions. Git Cola is another nice UI option

haxnet profile image

For Arch users, sudo pacman -Ss git

Some comments may only be visible to logged-in visitors. Sign in to view all comments.