Hello developers, let’s set up an expo CLI into the machine to start an app-development !
Prerequisites,
You need to have a node install on your machine, haven't? get node from here.
You must have simmulator on your machine. If your mac user you can have Xcode(get from app store) and android both, but this choice is limmited to android for windows user’s, get android studio here.
Let’s check the version of our node and npm, to do so run following command in terminal.
node --version
npm --version
Now we need an expo CLI for initializing our app’s, so we get an expo globally
npm i -g expo-cli
This will install expo CLI on your machine. If your Mac user, you need to prefix this with ‘sudo’ and to install that, you were asked for the password by terminal, go ahead and install expo.
After setting up all, run following command to create a new expo app.
expo init blog-app
This will prompt for choosing template for your project, will go with blank.
Congratulations developers! we have created a new expo app.
We have successfully created our first expo app, now we need to run our app for that you can see this guide.
Till then keep learning :)
Top comments (0)