How to install react native in mac || install react native with Expo

we are going to cover tutorial about how to install react native in mac. 

in this article we will learn how to install react native with Expo CLI(command-line interface). 



  • First of all, you need to install node.js in your mac. you can download node.js from official website for your macbook.

  • Or you can install node with brew with command. for that just open your mac's terminal and type command: 
    brew install node
    brew install watchman
    


  • After successfully installing nodejs. we have to install expo with command: 
    npm install -g expo-cli


  • After successfully installing expo. we have to create project with expo command: 
  • expo init YourProjectName


  • You have successfully install your application, now just run the application on your system: 
  • cd YourProjectName
    npm start

Here is your result: