Alpine Linux apk Cheat Sheet COMMAND DESCRIPTION apk update Refresh/update the local package repository indexes. apk upgrade Upgrade all installed packages to their latest available versions. apk add Install one or more new packages (e.g., apk add nano). apk del Remove/uninstall a package from the system. apk search Search available repositories for packages matching a keyword. apk info Show detailed information about an installed package. apk fix Repair broken packages, missing symlinks, or corrupted installations. apk policy Check available versions and repository source for a package. apk add --no-cache Install a package without saving the index cache locally (ideal for containers/scripts). apk clean cache Clean up downloaded packages.