DEV Community

loading...

Git On Linux

devzeff profile image Zefffffffffffffffffffffffffff ・1 min read

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

Steps

#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

Discussion (3)

Collapse
adithyarafk profile image
AdithyaR-afk

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

Collapse
haxnet profile image
HaxNet

For Arch users, sudo pacman -Ss git

Collapse
devzeff profile image
Zefffffffffffffffffffffffffff Author

This is my first post and intended for the people who want to install Git easily

Forem Open with the Forem app