1. Add an npm script in your project's package.json for the expo command
    • "expo": "expo"
    • and use npm run expo ... to run you expo commands
  2. In you project you can run npm bin / yarn bin to find the location of the locally installed binary files and invoke that directly.
    • ./node_modules/.bin/expo ...
Answer from lurvey on Stack Overflow
🌐
Expo Documentation
docs.expo.dev β€Ί more β€Ί expo-cli
Expo CLI - Expo Documentation
You can also run yarn expo -h if you prefer to use yarn as the package manager. ... Usage $ npx expo <command> Commands start, export run:ios, run:android, prebuild install, customize, config login, logout, whoami, register Options --version, ...
🌐
Expo Documentation
docs.expo.dev β€Ί tutorial β€Ί create-your-first-app
Create your first app - Expo Documentation
In the project directory, run the ... the terminal window. Scan that QR code to open the app on the device. On Android, use the Expo Go > Scan QR code option....
🌐
Exposition
blog.expo.dev β€Ί introducing-expo-run-commands-835ae8da4813
Introducing: Expo Run Commands
August 16, 2022 - After prebuild, the run commands will build the native binary, start a local dev server for interacting with Metro bundler, and install the app on your device or simulator. ⚠️ expo run:ios and expo run:android are designed for Expo SDK 41+ ...
🌐
Expo Documentation
docs.expo.dev β€Ί develop β€Ί tools
Tools for development - Expo Documentation
It is designed to help you move faster during the app development phase. For example, your first interaction with Expo CLI is starting the development server by running the command: npx expo start.
🌐
Evan Bacon
evanbacon.dev β€Ί blog β€Ί run-cmd
Introducing: Expo Run Commands
May 28, 2021 - The run commands integrate with dev client to provide an experience that is very similar to Expo Go: when you run a debug build of a project with dev client installed, Expo CLI will launch directly into the project within the client, and it will also make it available under the β€œRecently in development” section of the app for easy access from other devices already running the client.
🌐
Expo Documentation
docs.expo.dev β€Ί guides β€Ί local-app-development
Local app development - Expo Documentation
To create a development build, you can use local app compilation commands (npx expo run:[android|ios]) which will create a debug build and start the development server.
🌐
GitHub
github.com β€Ί expo β€Ί react-native-community-cli β€Ί blob β€Ί master β€Ί docs β€Ί commands.md
react-native-community-cli/docs/commands.md at master Β· expo/react-native-community-cli
builds your app and starts it on a specific device/simulator with the given device id (listed by running "adb devices" on the command line).
Author Β  expo
Find elsewhere
🌐
Nx
nx.dev β€Ί technologies β€Ί react β€Ί expo β€Ί api β€Ί executors β€Ί run
nx/expo:run
To see all your Android emulators, run: emulator -list-avds. ... Packager Server target options. Packager Server target options. ... The ios, android and web option allows you to start the server on different platforms. Opens your app in Expo Go in a currently running iOS simulator on your computer:
🌐
Packtpub
subscription.packtpub.com β€Ί book β€Ί web-development β€Ί 9781839211140 β€Ί 16 β€Ί ch16lvl1sec18 β€Ί installing-and-using-the-expo-command-line-tool
Installing and using the Expo command-line tool
Once this installation is complete, you'll have a new expo command available on your system. To start a new project, we can run the expo init command, as follows:
🌐
Expo Documentation
docs.expo.dev β€Ί more β€Ί create-expo
create-expo-app - Expo Documentation
Use this option to initialize a project using an example from expo/examples. ... Running npx create-expo-app --example with-react-navigation sets up a project similar to the default template, but configured with plain React Navigation library
🌐
GitHub
github.com β€Ί expo β€Ί expo β€Ί issues β€Ί 19147
tells me to run npx expo start - when I did Β· Issue #19147 Β· expo/expo
September 16, 2022 - This command is being executed with the global Expo CLI. Learn more: https://blog.expo.dev/the-new-expo-cli-f4250d8e3421 To use the local CLI instead (recommended in SDK 46 and higher), run: β€Ί npx expo start
Published Β  Sep 16, 2022
🌐
GitHub
github.com β€Ί expo β€Ί expo β€Ί issues β€Ί 37793
'android' and 'ios' run commands added when running 'expo run' Β· Issue #37793 Β· expo/expo
March 26, 2025 - Once the app has been created, ... at the very least, have a way to prevent this. This could be done with a switch, e.g. `yarn expo run --do-not-add-run-commands" (or something similar, but shorter)....
Published Β  Jul 02, 2025
🌐
Reddit
reddit.com β€Ί r/expo β€Ί how to run expo with server at same time in one script
r/expo on Reddit: How to run expo with server at same time in one script
November 19, 2022 -

I am trying to run my express server and my expo app within the same script in my package.json.

I am not able to get it to work with concurrently:

"dev:with-server": "concurrently 'DEV_ENV=development npx expo start -c' 'cd server && npm run dev'"

or npm-run-all

"server": "npm run dev",
"expo-dev": "DEV_ENV=development npx expo start -c",
"dev:with-server": "npm-run-all --parallel server expo-dev",

neither of these are working. both are failing with the same error:

error An unexpected error occurred: "Cannot create property 'https' on string 'https://registry.yarnpkg.com'".

not sure what I am doing wrong here. anyone know? using expo 48

🌐
Educative
educative.io β€Ί answers β€Ί how-to-setup-react-native-with-expo-on-ubuntu
How to setup React Native with Expo on Ubuntu
In a terminal in your project directory, type the following command to run your project: ... Download the Expo mobile application to your Android or iOS smartphone.
🌐
PandaC
pandac.in β€Ί blogs β€Ί getting started with expo cli
Getting Started with Expo CLI | PandaC
January 6, 2024 - This command launches the Expo development server, providing options to run the project on various platforms like Android, iOS, and web.
🌐
Expo Documentation
docs.expo.dev β€Ί workflow β€Ί overview
Develop an app with Expo - Expo Documentation
To compile your app locally, you will need to install Android Studio and Xcode on your machine, and then you can either run the build from those tools or use npx expo run:[android|ios]. ...
🌐
GitHub
github.com β€Ί expo β€Ί expo β€Ί pull β€Ί 37301
[cli] allow separating `expo run*` commands options from project root by using `--` by makl11 Β· Pull Request #37301 Β· expo/expo
Before this change, there was no way to run commands like expo run <platform> -d "/path/to/my_app". The args parsing rightfully assumed the path to be the device name. Using --allows to run commands like that.
Author Β  expo
🌐
Stack Overflow
stackoverflow.com β€Ί questions β€Ί 78110771 β€Ί why-does-npx-expo-start-tell-me-that-i-should-use-npx-expo-start
react native - Why does `npx expo start ..` tell me that I should use `npx expo start ...` - Stack Overflow
β”‚ β”‚ β”‚ β”‚ To use the local CLI instead (recommended in SDK 46 and higher), run: β”‚ β”‚ β€Ί npx expo <command> β”‚ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜