Structured Content 2022: Join our conference to explore fresh perspectives on content and digital experiences →

Upgrade version of studio package

The version of a package used in Sanity Studio can be upgraded from the command line.

Using yarn

yarn add <package>@latest

e.g. to upgrade the version of React:

yarn add react@latest

Using npm

npm install <package>@latest

e.g. to upgrade to the latest version of React:

npm install react@latest

Was this article helpful?