How to fix Alpine Linux ERROR: ‘install’ is not an apk command


You are trying to install an apk package using e.g.

apk install python

but you see this error message:

ERROR: 'install' is not an apk command. See 'apk --help'.


Use apk add instead of apk install to install packages on Alpine Linux !

So instead of

apk install python


apk add python