πŸ‘€ Our most exciting product launch yet πŸš€ Join us May 8th for Sanity Connect

Clarification on using the command `npm create sanity@latest` in a NextJS web app.

3 replies
Last updated: Oct 12, 2023
Hello, apologies if this has been asked already.I am building a web app using NextJS and I want to utilize Sanity. It says the command
npm create sanity@latest
Is that correct? It sounds like a command for an initial setup for a project, not for a project that already exists. But that just may be how I'm reading this.
Oct 12, 2023, 8:57 PM
this will setup sanity studio in your nextjs app. if you already have that setup then you just need to start the dev server in studio.
Oct 12, 2023, 8:59 PM
its not going to create a NextJS application its going to install and config studio into your existing project.
Oct 12, 2023, 9:00 PM
thank you friend
Oct 12, 2023, 9:03 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?