install yarn in react native

Shell
npm install -g yarn
yarn global add react-native-cli
react-native init sample
Source

Also in Shell: