Go Behind the Experience to see how Tecovas brings the West to life with Sanity 🤠 July 18th

What is the difference between yarn and npm?

3 replies
Last updated: Feb 9, 2021
Is there a difference between
sanity install @sanity/color-input
npm install @sanity/color-input
? is sanity install just a alias for yarn or we actually need to install dependencies through
sanity install
Feb 9, 2021, 12:12 AM
sanity install
also adds it to the
array of
. Apart from that there's no real difference between installing with yarn yourself
Feb 9, 2021, 12:18 AM
You just saved me a bit of “why isn’t sanity color input working” stackoverflow! Thanks Espen!
Feb 9, 2021, 12:19 AM
Happy to help!
Feb 9, 2021, 12:19 AM

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?