Hey there!, so you want to get into mobile development or you're already familier with mobile development and you want to install/set-up React Native on your machine, but your machine is slow😥 and or you live in a country where the cost of good internet data is quite expensive so you can’t afford to install Android studio or Xcode
Never say never!, after reading this you'll have React Native up and running on your machine without consuming ridiculous amount of space on your machine with the help of this life saver called Expo!, Lets get started.
If you have the Node 10 LTS or greater installed on your machine. kindly move to the next step!, If you dont, visit nodejs website to install the recommended version for your OS.
We'll install Expo CLI with npm, npm comes along with Node, you can confirm this by running the following command.
it will print the version of npm installed in your machine.
Now, we install Expo CLI by running the following command:
npm install -g expo-cli
Run the following commands to create a new React Native project called "NewProject":
expo init NewProject cd NewProject npm start # you can also use: expo start
Awesome!!, now you've successfully installed and set-up a new project, next step you'll learn how to run your app.
Install the Expo client app on your iOS or Android phone and connect to the same wireless network as your computer. On Android, use the Expo app to scan the QR code from your terminal to open your project. On iOS, follow on-screen instructions to get a link.
Congratulations!!, You have successfully installed React Native, go forth and build!!!❤️❤️❤️