although this solution is not the best and the safest solution exists, this worked for me and that make sense because all the problem we had with the errors is the permission problems. so you can use this command and ignore those permission problems :

sudo npm install expo-cli -g --unsafe-perm
Answer from Zhivar Sourati on Stack Overflow
🌐
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. exposes a JavaScript module that configures an app at runtime as needed to use expo-font and to function in Expo Go (optional, only if applicable). See CONTRIBUTING for instructions on working on this package. expo · npm i expo ·
      » npm install expo
    
Published   Dec 12, 2025
Version   54.0.29
Author   Expo
🌐
Expo Documentation
docs.expo.dev › bare › installing-expo-modules
Install Expo modules in an existing React Native project - Expo Documentation
For previous versions, check the native upgrade helper to see how these files are customized. Terminal · Copy · - npm install expo · Once installation is complete, apply the changes from the following diffs to configure Expo modules in your ...
People also ask

Can I use Expo CLI for existing React Native projects?
Yes, you can integrate Expo into existing React Native projects to leverage its tooling and features, enhancing your development workflow.
🌐
dhiwise.com
dhiwise.com › post › easy-steps-to-install-expo-cli-npm-for-your-development
How to Install Expo CLI NPM for Your Development Environment
How do I update Expo CLI to the latest version?
To update Expo CLI, run npm install -g expo-cli in your terminal. This command ensures you have the latest features and improvements.
🌐
dhiwise.com
dhiwise.com › post › easy-steps-to-install-expo-cli-npm-for-your-development
How to Install Expo CLI NPM for Your Development Environment
Is Expo CLI suitable for building production-ready apps?
Absolutely. Expo CLI streamlines the development process, from coding to deployment, making it an excellent choice for creating production-ready applications.
🌐
dhiwise.com
dhiwise.com › post › easy-steps-to-install-expo-cli-npm-for-your-development
How to Install Expo CLI NPM for Your Development Environment
🌐
npm
npmjs.com › package › install-expo-modules
install-expo-modules - npm
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
🌐
Expo Documentation
docs.expo.dev › more › expo-cli
Expo CLI - Expo Documentation
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:
🌐
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 - While both npm install and npx expo install have their place in React Native Expo development, npx expo install is generally the safer choice for packages that interact with the Expo ecosystem.
Find elsewhere
🌐
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 - Learn how to quickly install Expo CLI using NPM to streamline your development process. Read our guide for step-by-step instructions!
🌐
npm
npmjs.com › package › expo-cli
expo-cli - npm
The command-line tool for creating and publishing Expo apps. Latest version: 6.3.10, last published: 2 years ago. Start using expo-cli in your project by running `npm i expo-cli`. There are 29 other projects in the npm registry using expo-cli.
      » npm install expo-cli
    
Published   Jul 05, 2023
Version   6.3.10
🌐
Stack Overflow
stackoverflow.com › questions › 69487725 › expo-install-vs-npm-install
react native - expo install vs npm install - Stack Overflow
However, I just noticed that even though Expo recommends React Navigation for navigation and routing, the first step in installing it is npm install @react-navigation/native. We then continue with expo install for installing Expo dependencies.
🌐
npm
npmjs.com › package › expo-application
expo-application - npm
npx expo install expo-application · Contributions are very welcome! Please refer to guidelines described in the contributing guide. react-native · expo · expo-application · npm i expo-application · github.com/expo/expo · docs.expo.dev...
      » npm install expo-application
    
Published   Dec 05, 2025
Version   7.0.8
Author   650 Industries, Inc.
🌐
npm
npmjs.com › package › @expo › cli
@expo/cli - npm
The Expo CLI. Latest version: 54.0.19, last published: 7 days ago. Start using @expo/cli in your project by running `npm i @expo/cli`. There are 6 other projects in the npm registry using @expo/cli.
      » npm install @expo/cli
    
Published   Dec 11, 2025
Version   54.0.19
Author   Expo
🌐
DevCamp
devcamp.com › trails › mobile-development-react-native › campsites › getting-started-react-native › guides › installing-expo-generating-application
Installing Expo and Generating the Application
Now if you do not have Expo already installed on your system this is gonna go out to the npm registry and it's gonna pull that code down. I already have it installed and I have it installed globally so I don't have to worry about that. It's just gonna tell me that it's either gonna upgrade ...
🌐
Expo Documentation
docs.expo.dev › workflow › using-libraries
Using Expo SDK, React Native, and third-party libraries - Expo Documentation
The npx expo install command picks a library version compatible with your project and then uses your JavaScript package manager (such as npm) to install it.
🌐
GitHub
github.com › expo › expo › issues › 24957
"npm install -g expo-cli" doesn't update expo-cli · Issue #24957 · expo/expo
September 16, 2023 - You must install peer dependencies yourself. npm WARN [email protected] requires a peer of expo@* but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
Published   Oct 20, 2023
🌐
Expo Documentation
docs.expo.dev › brownfield › installing-expo-modules
Install Expo modules in an existing native project
Then run yarn install to install the dependencies. This will ensure node_modules are installed at the root of your project, and that native scripts can interact with React Native code.
🌐
Expo Documentation
docs.expo.dev › workflow › upgrading-expo-sdk-walkthrough
Upgrade Expo SDK - Expo Documentation
Install the new version of the Expo package: npm · Yarn · pnpm · Bun · Terminal · Copy · - npm install expo@^54.0.0 · Terminal · Copy · - yarn add expo@^54.0.0 · Terminal · Copy · - pnpm add expo@^54.0.0 · Terminal · Copy · - ...
🌐
Medium
medium.com › @malihanadeem881 › install-react-native-expo-cli-today-a-comprehensive-guide-cbb349478d4e
Install React Native Expo CLI Today: A Comprehensive Guide | by Maliha Nadeem | Medium
October 31, 2023 - Installation: After downloading Node.js, run the downloaded installer and follow the on-screen instructions. This will also install npm.