- 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
- In you project you can run
npm bin/yarn binto find the location of the locally installed binary files and invoke that directly../node_modules/.bin/expo ...
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, ...
Videos
How to create your first Expo app | Universal App tutorial #1
10:58
Installing Expo CLI, making an app, running the app - YouTube
20:44
Complete React Native Tutorial #1 - Introduction & Setup (Expo) ...
16:08
Set up Expo CLI and Run the First Expo Project | React Native ...
16:41
Expo Development Build Tutorial (Expo Go Replacement) | React Native ...
21:37
Expo Go vs Development Builds: Which should you use? - YouTube
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.
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
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:
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
Top answer 1 of 3
1
i think i solved it? they can run at the same time, but i think theres an issue when both of them are trying to be started EXACTLY at the same time. So I made a command to run concurrently with one, wait a few seconds to run other command. "dev:with-server": "concurrently 'cd server && npm run dev' 'node -e \"setTimeout(() => process.exit(0), 5000)\" && DEV_ENV=development npx expo start -c'",
2 of 3
1
Try a small bash script that runs npx expo start -c & cd server npm run dev & You can later add on behavior like prefixing all the output from Expo with [expo] and output from express with [web] with ANSI color-coding. However be aware that by interleaving stdout from two processes, output like the QR code from Expo might have express output spliced in the middle of it.
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> β β β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
React Native
reactnative.dev βΊ docs βΊ environment-setup
Get Started with React Native Β· React Native
To create a new Expo project, run the following in your terminal: