how to add specific version of react native using yarn code example Example: add dev dependency yarn yarn add -D package //or yarn add --dev package