✨Discover storytelling in the AI age with Pixar's Matthew Luhn at Sanity Connect, May 8th—register now

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?