To develop applications with Expo, you need two tools. A command-line application called Expo CLI
to serve your project, and a mobile client app called Expo Go
to open the project on iOS and Android platforms. Additionally, you can use any web browser to run the project on the web.
You don't need macOS to build an iOS app with Expo. You only need an iOS device to run the Expo Go app. Windows, Linux, and macOS are all supported for your development machine.
is a command-line app that is the primary interface between a developer and Expo tools. You are going to use it for different tasks in the development life cycle of your project such as serving the project in development, viewing logs, opening the app on an emulator or a physical device, etc.
To install and use Expo CLI, you need to have the following tools installed on your developer machine:
Only Node.js LTS releases (even-numbered) are recommended. As Node.js officially states
, "Production applications should only use Active LTS or Maintenance LTS releases."
To install Expo CLI, you need to install it as a global npm package. Open the terminal on your development machine and run the following command:
# Install the command line tools
npm install --global expo-cli
To verify the successful installation of CLI, run the following command:
If the installation is successful, you will see a "Not logged in" message since you are not logged in to an Expo account yet. You do not need an account to start and can proceed further with your project. However, if you want to register a new expo account, run the command:
If you already have an Expo account, you can log in to it by running the command:
Try searching the forums
— which are great resources for troubleshooting.
The fastest way to get up and running is to use the Expo Go
client app on your iOS or Android device. It allows you to open up apps served through Expo CLI and run your projects faster when developing them. It is available on both the iOS App Store and Android Play Store.
Open the Expo Go app after it has finished installing. If you have created an account with
expo-cli, you can sign in by clicking the "Login" button in the top header on the "Home" tab. Signing in will make it easier for you to open projects in the Expo Go app while developing them — they will appear automatically under the "Projects" section on the Home tab of the app.