git, alpine linux,

Install Git on Alpine Linux

Jun 20, 2022 · 1 min read · Post a comment

Previously git was not included in the official alpine packages. As the new Alpine versions are released, there are improvements of course. So now git is a part of the Alpine packages. Let’s see how to install Git on Alpine Linux.


  • Alpine Linux
  • sudo privileges

Install Git on Alpine Linux

Step 1. Make sure that the Alpine packages are up-to-date.

sudo apk update

Step 2. Install Git.

sudo apk add git

Step 3. Verify installation.

git --version


git version 2.36.1


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.