But to answer your question. To run “npm run dev” you need to create a development store that you will use during development. You will not use your client’s store to develop.
You can read up on that topic here: https://help.shopify.com/en/partners/dashboard/managing-stores/development-stores