To install and initiate a new Sanity Studio without installing the Sanity CLI globally, run the following command in the terminal:
npm create sanity@latest
To upgrade an existing instance to Sanity Studio v3, run the following commands in the terminal:
# Go to the root folder of the installed Sanity Studio instance
cd /sanity-studio/root-folder
# Upgrade Studio to v3
npm install sanity@latest
- Makes field actions keyboard-accessible:
- Enables pressing the
Esc
(Escape) key to discard a comment. - Fixes an issue where hovering over field actions (for example: Comments, AI Assist) when they're not visible would cause them to flicker.
- Enables pressing the
- Fixes an issue where nested Portable Editor input fields—Portable Text input inside an object that is inside another Portable Text input—would occasionally behave unexpectedly.
- When importing and exporting datasets with the
import dataset
andexport dataset
CLI commands, the output message includes information about theprojectId
and thedataset
in question.
Example: