Install Shopify CLI on iPhone with ISH.
- Node.js 14.13.1 or higher
- Ruby 3.0
- Ruby development environment (
ruby-dev
/ruby-devel
) - Git
- cURL
- GCC
- g++
- Make
# apk update
# apk upgrade
# apk add curl gcc g++ make
# apk add ruby-full ruby-dev
Install Node.js Result: illegal instruction
# apk add node npm
# npm -v
illegal instruction
Compatibility is not very good, Install earlier version of node. (Ref: https://github.com/ish-app/ish/issues/1482)
Add https://dl-cdn.alpinelinux.org/alpine/v3.12/main, https://dl-cdn.alpinelinux.org/alpine/v3.12/community to /etc/apk/repositories
# echo https://dl-cdn.alpinelinux.org/alpine/v3.12/main >> /etc/apk/repositories
# echo https://dl-cdn.alpinelinux.org/alpine/v3.12/community >> /etc/apk/repositories
# apk update
# apk add nodejs=12.22.12-r0
# apk add npm=12.22.12-r0
# npm -v
6.14.16
Install Shopify CLI
npm install -g @shopify/cli @shopify/theme
It seems to hang there.
https://github.com/ish-app/ish/issues/90
“That would be because you tried to run a 64 bit executable and iSH only supports 32 bit executables.”
Drop it!