Unable to link to shopify store

Hi Team,

New to Shopify but during excersie , not sure why simple step is too complex, and I don’t see any ways to solve.

npm help
➜ hydrogen-quickstart git:(main) npx shopify hydrogen link
╭─ error
│ │
│ Unable to get current user account

I am using version as below:
➜ hydrogen-quickstart git:(main) npm -v
11.6.2
➜ hydrogen-quickstart git:(main) node -v
v25.2.1

That “Unable to get current user account” error typically means your Shopify CLI session isn’t authenticated or the token has expired.

You need to explicitly log in to the Shopify CLI first. Try running `shopify logout` to clear any stale sessions, then `shopify login --store [your-store-name.myshopify.com]` (or just `shopify login` to log into your partner account first and then select the store). Once you’re logged in, run `shopify whoami` to confirm your account, then try `npx shopify hydrogen link` again.

Hope that helps!