DEV Community

Abhijeet Gavali
Abhijeet Gavali

Posted on

2 1

Setting up an expo CLI for development

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 :)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay