Cli login auth command

Topic summary

A user encountered an error when attempting to use a CLI login authentication command. The system prompted them to specify a store either by:

  • Passing --store {your_store_url}
  • Setting the SHOPIFY_FLAG_STORE environment variable

Another participant clarified that the standalone login command is no longer available in recent CLI versions.

Current solution: Run shopify theme dev --store myshopify.com instead, as the store specification is now passed as a flag on the dev command rather than through a separate login step.

The issue appears resolved with this workaround, though the discussion remains brief.

Summarized with AI on November 14. AI used: claude-sonnet-4-5-20250929.

solcabz_0-1702264218657.png

can someone can explain why the cli command asking me to logout even im not login


│ A store is required │
│ │
│ Specify the store passing --store={your_store_url} or set the │
│ SHOPIFY_FLAG_STORE environment variable.

1 Like

Hi Solcabz,

I believe you’re seeing this error because the login command isn’t on recent versions of the CLI, it’s generally passed as a flag on the dev command.

You should run shopify theme dev --store iconiqlast.myshopify.com

5 Likes