Unlike the web, React Native is not backwards compatible. This means that npm packages often need to be the exact right version for the currently installed copy of react-native in your project. Expo CLI provides a best-effort tool for doing this using a list of popular packages and the known working version combinations. Simply use the install command as a drop-in replacement for npm install:

npx expo install expo-camera Visit here to see more: https://docs.expo.dev/more/expo-cli/

Answer from Simranjeet on Stack Overflow
🌐
Reddit
reddit.com › r/reactnative › how important it is to always use "expo install x" as opposed to "npm install x"?
r/reactnative on Reddit: How important it is to always use "expo install x" as opposed to "npm install x"?
February 19, 2022 -

I'm building my app using Expo and whenever I can, I use "expo install some-package". It seems to work most of the time, but something it doesn't and my only option seems to be to fall back to using npm install.

I realize that expo install is safer because it "knows" compatibility, but so far I've had to use npm because of failures with expo install (often peer dependency version conflicts). For 2-3 packages I've done this with, they all worked fine.

Is there any major risk I'm running by not using expo install for a couple packages? I'm I setting myself up for pain?

🌐
MyCleverAI
mycleverai.com › it-questions › what-is-the-difference-between-using-npx-expo-and-npm-install
What is the difference between using "npx expo" and "npm install"?
In essence, npm install is about managing dependencies, and npx expo is about executing commands specific to Expo development workflows. They serve different purposes and are both fundamental tools when developing with Node.js and particularly when using Expo with React Native.
🌐
Medium
medium.com › @huzaifaqureshi037 › exwhy-you-should-use-npx-expo-install-instead-of-npm-install-in-expo-react-native-app-07d6156f064a
Why You Should Use “npx expo install” instead of “npm install” in Expo React Native App. | by Huzaifa Qureshi | Medium
October 23, 2024 - Version Conflicts : If you encounter version conflicts, try npx expo install first. It often resolves compatibility issues automatically · Development Dependencies : Use npm install --save-dev for development tools, These don’t need Expo’s version resolution
🌐
Expo
forums.expo.dev › t › difference-expo-install-versus-npm-install › 31388
https://forums.expo.dev/t/difference-expo-install-...
Expo brings together the best of the web and mobile for making apps that run on Android, iOS, and web. | 66664 members
🌐
Java-samples
java-samples.com › showtutorial.php
npm install vs npx expo install
In summary, npm install is a more general-purpose package manager that can be used with any Node.js project, while npx expo install is specific to Expo projects and is optimized for installing packages from the Expo SDK.
🌐
Stack Overflow
stackoverflow.com › questions › 69487725 › expo-install-vs-npm-install
react native - expo install vs npm install - Stack Overflow
From expo docs: The expo install command will pick a version that is compatible with your project and then use your JavaScript package manager (such as npm) to install it.
Find elsewhere
🌐
Expo Documentation
docs.expo.dev › workflow › using-libraries
Using Expo SDK, React Native, and third-party libraries - Expo Documentation
We recommend always using npx expo install instead of npm install or yarn add directly because it allows Expo CLI to pick a compatible version of a library when possible and also warn you about known incompatibilities.
🌐
npm
npmjs.com › package › expo
expo - npm
provides @expo/cli, a small CLI that provides a clean interface around both bundlers (such as Metro and Webpack) and native build tools (Xcode, Simulator.app, Android Studio, ADB, etc.), can generate native projects with npx expo prebuild, and aligns compatible package versions with npx expo install.
      » npm install expo
    
Published   Dec 18, 2025
Version   54.0.30
Author   Expo
🌐
DhiWise
dhiwise.com › post › easy-steps-to-install-expo-cli-npm-for-your-development
How to Install Expo CLI NPM for Your Development Environment
November 14, 2024 - The Expo package plays a pivotal role in your React Native project, handling everything from the project's configuration to its dependencies. Managing these dependencies is seamless with npx expo install, ensuring compatibility and easing the ...
🌐
Reddit
reddit.com › r/expo › running `npm install expo-dev-client` makes it so that the development server no longer works
r/expo on Reddit: Running `npm install expo-dev-client` makes it so that the development server no longer works
May 15, 2024 -

I created a Blank Typescript template and ran `npx expo start --tunnel`, selected the development server from my Expo app on my phone. No issues. However, after running `npm install expo-dev-client` and starting the server again I could no longer open the server from my phone

Any ideas what went wrong? This used to be fine a few days ago

🌐
Reddit
reddit.com › r/reactnative › if i'm using expo, should every dependency be added via expo or npm?
r/reactnative on Reddit: If i'm using expo, should every dependency be added via expo or npm?
December 18, 2022 - I re-installed both of those, ran the application and react-native-reanimated wasnt there even tho i installed. Any help is really appreciated, thanks! Share ... This is the correct answer. ... A community for learning and developing native mobile applications using React Native by Facebook. ... I published my first npm package!
🌐
npm
npmjs.com › package › install-expo-modules
install-expo-modules - npm
Tools to install expo-modules for existing react-native projects. Latest version: 0.13.14, last published: 14 days ago. Start using install-expo-modules in your project by running `npm i install-expo-modules`. There are no other projects in the npm registry using install-expo-modules.
      » npm install install-expo-modules
    
Published   Dec 08, 2025
Version   0.13.14
🌐
Boostrand
boostrand.com › install rnwp template › react native › how to setup your expo environment
How to Setup your Expo Environment - Boostrand
After installing NodeJs, we will need to install yarn as a package manager that will take care of all packages we need. You may be using npm as the package manager, but the RNWP template is using yarn, so it would be needed to use yarn to install our Expo project afterward.
Published   February 24, 2022
Views   0
🌐
GitHub
github.com › expo › expo › issues › 25286
npx expo install --fix not working correctly · Issue #25286 · expo/expo
November 9, 2023 - I recently wanted to upgrade my expo sdk from 47 to 48, after changing the expo version in package.json, I ran npx expo install --fix which is supposed to fix the dependencies, but it doesn't work, apparently, it tries running yarn|npm install [email protected],[email protected]
Published   Nov 09, 2023