Trouble updating Sanity version, seeking help and guidance.
Don't worry, we've all been there! Welcome back, and I hope things are better with your family 🙂
The command you're looking for is:
npm install sanity@latestThis will update Sanity to the latest version (3.26.0 in your case). The reason npm update doesn't work is that it respects the version range in your package.json, so it's probably staying within whatever semver range is specified there (like ^3.19.3).
You can also use the Sanity CLI command:
sanity upgradeOr if you don't have the CLI installed globally:
npx -y sanity@latest upgradeThe sanity upgrade command is smart about respecting version ranges and selectively upgrading Sanity-related packages while leaving other dependencies alone. It'll also show you a prominent message if there are major updates available with links to the changelog.
After running either command, restart your dev server and you should be good to go!
Sanity – Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.