git,

Install Git on Alpine Linux

Jun 20, 2022 · 1 min read · Post a comment
Install Git on Alpine Linux

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.

Prerequisites

  • Alpine Linux
  • sudo access

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 the installation.

git --version

Output:

git version 2.36.1

Conclusion

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