All things Shopify and commerce
I am a shop owner of my store. I tried to setup local development environment following the instruction here. I managed to log in to my store with my owner account and have gone through user verification code. However, I kept getting the error of "You are not authorized to use the CLI to develop in the provided store" in CLI.
How do I resolve the issue?
Solved! Go to the solution
This is an accepted solution.
I tried using this format of command and it worked for me:
Updated command: shopify theme dev --store=store-name
Command mentioned in Shopify: shopify theme dev --store {store-name}
Hope it works for you.
honestly i would like a very detailed explanation on how to fix this as well, im currently at a all-time halt with my project here due to this reason. its preventing me from customizing anything and is very frustrating. even though i am the owner of the shopify account and not to mention there isnt any accounts or staff etc.. listed within that shopify storefront, i still seem to be getting these errors.
This is an accepted solution.
I tried using this format of command and it worked for me:
Updated command: shopify theme dev --store=store-name
Command mentioned in Shopify: shopify theme dev --store {store-name}
Hope it works for you.
Thanks Shashwat-Tiwari. Confirm using this command shopify theme dev --store=store-name works.
THIS IS NOT WORKING ANYMORE.
It was impossible to get access to the CLI. After many hours of troubleshooting and conversations with Shopify advisors, here's what I learned:
It seems Shopify has intentionally restricted CLI access to push development activities toward their Partner Program. This is incredibly disappointing and feels like a move to limit store owners from using powerful tools like the CLI or leveraging AI-based development tools. I hope Shopify reconsiders this approach, as it's making things harder for independent store owners who simply want to improve their stores without hiring a developer or jumping through unnecessary hoops.
Thank you so much!
The accepted solution listed in this post does not work at all. Did you ever arrive at a solution? I'm having the same exact issue. Thanks!
i did not find a solution to this problem here, i honestly packed up everything and stopped trying to use the CLI development. i just hired someone to build my store instead.
I think that is what shopify wants to happen.
Did you find a solution to the problem in the image? cuz that's exactly what I'm facing
THIS IS NOT WORKING ANYMORE.
It was impossible to get access to the CLI. After many hours of troubleshooting and conversations with Shopify advisors, here's what I learned:
It seems Shopify has intentionally restricted CLI access to push development activities toward their Partner Program. This is incredibly disappointing and feels like a move to limit store owners from using powerful tools like the CLI or leveraging AI-based development tools. I hope Shopify reconsiders this approach, as it's making things harder for independent store owners who simply want to improve their stores without hiring a developer or jumping through unnecessary hoops.
@techgardener's was my last "I really don't want to do that" hope until i tried the following:
After spending the entire morning looking through the forum and testing different approaches, i found the way:
This is the command to be used:
shopify theme dev --store=<store-domain>
shopify theme dev --store=given-shopify-domain.myshopify.com
// example
shopify theme dev --store=83637c-4.myshopify.com
Hope it helps the next person struggling ❤️
I've been able to login to the CLI. Assuming you are using Git Bash like I was attempting to solve this, you need to put this command in your CLI:
shopify theme dev --store={Your store name}.myshopify.com
You can replace your store name with the actual URL of your store from the box where you are selected to click on the store you wish to login to.
For example (I've marked my store names for privacy reasons, but I hope this somehow helps):
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025