Shopify Cli Error for every action

AI-generated summary

Main issue: On a new Mac, Shopify CLI fails on every action despite installing Ruby (latest and 3.0.0) and Node. Screenshots are central, showing command errors from the CLI.

Context: The user appears to be attempting theme development (e.g., running shopify theme serve). Shopify CLI (command-line interface) is used to authenticate and manage themes; theme serve starts a local development server.

Suggested fix (authentication reset):

  • Log out of the Shopify account in the web browser.
  • Log out via CLI using: shopify logout.
  • Log back into the store in the browser at {shop}.myshopify.com/admin.
  • Log in via CLI using: shopify login --store {shop}.myshopify.com.
  • Try running shopify theme serve again. If still failing, ensure all sessions are fully logged out and repeat.

Status: No confirmation that the steps resolved the errors. The discussion remains open, with the key question being whether an authentication/session mismatch is causing the CLI failures.

Hello hello,

I am on a new Mac, i install ruby last version and ruby 3.0.0, i install shopify-cli, i have node and still not working …

I don’t understand why, could you help me pleaaaaaase

Thaaaaank sooooo much

Hi @clairegll , maybe this will help:

Log out of your shopify account in the browser
Log out through shopify CLI (if not already logged out) shopify logout
Log in to {shop}.myshopify.com/admin in the browser
Then log in through shopify CLI shopify login --store {shop}.myshopify.com
You should be able to run shopify theme serve after this. If not, make sure you log out of anywhere you're logged in to shopify and try again.