Tools

Alpine Linux Cheat Sheet

Print-ready cheat sheet for Alpine Linux, organized for fast lookup, study, and desk-side use

Source
Alpine Linux Documentation (wiki.alpinelinux.org)
License
MIT
Updated
2026-03-27

Sample

What's in this cheat sheet

  • Package Management
  • Services
  • Configuration
  • Networking
  • Users
  • Disk & Storage
  • Docker Base Image
  • Common Patterns

apk Basics

apk update               # refresh package index
apk upgrade              # upgrade all packages
apk add curl git vim     # install packages
apk del curl             # remove a package
apk search nginx         # search for packages

Package Info

apk info                 # list installed packages
apk info -a nginx        # detailed package info
apk info -L nginx        # list files in package
apk policy nginx         # show available versions

Virtual Packages

# Install build deps as a group, remove later
apk add --virtual .build-deps gcc musl-dev
make && make install
apk del .build-deps

Download the full cheat sheet for all sections, formatted for print

Download PDF

Downloads

Choose the treatment that matches how you read