How to install react native in mac || install react native with command-line interface

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 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 create project with command: 
    npx react-native init YourProjectName

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


Here is your result: