uninstall a global react-native-cli package code example
Example 1: how to uninstall react native cli globally
npm uninstall -g react-native-cli
Example 2: how to remove global react-native-cli package
yarn global remove @react-native-community/cli