I am running the following commands in the DOS console on a Windows 7 (64-bit) machine.
npm install -g yarn yarn add global react-native yarn add global reac
You got the order wrong. You should be
yarn add global react-native-cli yarn add react-native react-native init sample