I’m trying to install Shopify CLI on Mac.
I’ve done:
brew tap shopify/shopify
brew install shopify-cli
When I run: shopify version I get the bellow error.
Installation of Shopify CLI on macOS via Homebrew led to an error when running “shopify version” (error screenshot referenced).
Resolution and key updates:
Notes:
Outcome: Issue resolved; no further action requested and no ongoing disagreements.
Solved.
I needed to install Shopify CLI 2 (not 3) for themes and update Ruby to 3.1.2
Then use shopify2 for all terminal commands.
Eg, shopify2 theme push