mac update react native code example
Example: react native mac
For macOS:
Go to Terminal:
sudo npm i -g react-native-cli
Enter password
react-native init My_Application
For macOS:
Go to Terminal:
sudo npm i -g react-native-cli
Enter password
react-native init My_Application