the appwrite cli does not work on alpine os if you install it using the recommended bash script.
Maybe there is the possibility to compile it for alpine using the pkg npm package that you already use it.
TL;DR
The Appwrite CLI does not work on Alpine OS with the recommended bash script. One possible solution could be to compile it for Alpine using the pkg npm package.