react-native cli install code example
Example 1: react native install
npm install -g react-native-cli
Example 2: install react native cli
if you have nodejs in your system then open terminal and install
react-native-cli globly via
sudo yarn add react-native-cli
npm install yarn (if donot have yarn install)
to check nodejs via node -v and check package manager via npm -v
Example 3: how to install react native
down node js
then npm i neact-native