First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
you must be on /blog
directory
Install Sanity CLI to use sanity command
npm install --global sanity@latest
If you get this error Error: You must login first - run "sanity login"
then login sanity login