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
🌐
Expo Documentation
docs.expo.dev › more › expo-cli
Expo CLI - Expo Documentation
November 11, 2025 - Build and run the native apps locally: npx expo run:ios and npx expo run:android. Install and update packages that work with the version of react-native in your project: npx expo install package-name.
🌐
npm
npmjs.com › package › expo-cli
expo-cli - npm
July 5, 2023 - If you have problems with the code in this repository, please file issues & bug reports at https://github.com/expo/expo-cli. Thanks! Installation instructions and documentation here.
      » npm install expo-cli
    
Published   Jul 05, 2023
Version   6.3.10
Discussions

react native - Can't run "npm install expo-cli --global" - Stack Overflow
I am a newbie in all this stuff. Hope for your understanding. Let me clarify the issue: I am trying to start react native app through expo cli. So tried to start npm install expo-cli --global to in... More on stackoverflow.com
🌐 stackoverflow.com
Why cant i install expo?
Facing same issue! Also tried - npm install —global expo-cli and  npx expo start. Node modules are not getting installed. Have you found the fix? More on reddit.com
🌐 r/expo
30
5
October 8, 2024
I need to install Expo but I already have React Native CLI setup on Mac I need to do working with both projects
Just install expo-cli globally as well as react-native-cli. I am using both of them with yarn. So no conflict. Just follow the original documentation. More on reddit.com
🌐 r/reactnative
8
1
April 16, 2023
Building react native expo app after running prebuild
Generally, you should git ignore the ios and android folders. Expo is confusing AF with their terminology, but lately they've been pushing the "Continuous Native Generation" (CNG) term, which is basically a fancy way of saying "prebuild". The idea is that the android and ios folders should never be manually manipulated, and you should use prebuild to generate the folders when needed. With a regular react-native project (not expo based), you would regularly go into the android and ios folders and fiddle with things, or at a minimum run pod install in the ios folder. Now, with prebuild/CNG/whatever we want to call it, if something needed to touch some files in the android or ios folders, a config plugin should be used to do that. Also, running "pod install" is part of the "expo prebuild" script, that that is handled for you. Long story short, don't check in android and ios folders to git, but use "expo prebuild" and/or "expo prebuild --clean" to generate those folders for you any time it is needed. For a team mate who just checked out the project from git, all they would have to do is run "expo prebuild" and the ios and android folders would be generated for them, then just run it like normal "expo run:ios" for example. More on reddit.com
🌐 r/expo
2
2
July 15, 2024
People also ask

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
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
🌐
Expo
expo.dev
Expo
Created a new expo app, copied my src folder along with some package installs and was ready in just a few minutes!
🌐
Fig
fig.io › manual › expo-cli
expo-cli | Fig
expo-cli client:install:ios · expo-cli client:install:android · expo-cli credentials:manager · expo-cli customize:web · expo-cli eject · expo-cli prebuild · expo-cli bundle-assets · expo-cli prepare-detached-build · expo-cli export · expo-cli fetch:ios:certs ·
Find elsewhere
🌐
GitHub
github.com › expo › expo-cli
GitHub - expo/expo-cli: Tools for creating, running, and deploying universal Expo and React Native apps
January 18, 2024 - The modern local Expo CLI is included with the expo package and does not need to be installed separately. Run it with npx expo.
Starred by 2.7K users
Forked by 479 users
Languages   TypeScript 86.3% | HTML 6.9% | JavaScript 6.8%
🌐
Expo Documentation
docs.expo.dev › bare › using-expo-cli
Migrate from React Native CLI to Expo CLI - Expo Documentation
November 11, 2025 - It is strongly recommended to use Expo CLI when using other Expo tools. It is required for many tools, such as EAS Update, Expo Router, and expo-dev-client, and other features may not work as well without it. In most cases, executing the following command in a project directory to install the ...
🌐
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!
🌐
Expo
expo.dev › tools
Get Expo Tools — Expo
Expo CLI · The interface between devs and Expo · View Expo CLI on GitHub · Expo SDK · Device and system functionality features · API References · Expo Go · Run your project on your own device · Download · Orbit · A desktop app that streamlines development ·
🌐
Educative
educative.io › answers › how-to-setup-react-native-with-expo-on-ubuntu
How to setup React Native with Expo on Ubuntu
A smartphone to download the Expo mobile application. Run the following command in your Ubuntu terminal to install the command line interface (CLI) of 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
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 me or it's just gonna tell me that I already have that installed. So that is the command for installing the Expo CLI.
🌐
Expo Documentation
docs.expo.dev › bare › installing-expo-modules
Install Expo modules in an existing React Native project - Expo Documentation
1 week ago - The last step is to install the project's CocoaPods again to pull in Expo modules that are detected by use_expo_modules! directive that we added to the Podfile: ... We recommend using Expo CLI and related tooling configurations to bundle your app JavaScript code and assets.
🌐
GitHub
gist.github.com › mrcodedev › 37b463ae63c0c1d762e6efaf4c26af4f
Como instalar Expo (React Native) · GitHub
PS C:\Users\augusto> npm install -g expo-cli exp npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to https://registry.npmjs.org/exp failed, reason: connect ETIMEDOUT 172.26.70.1:8080 npm ERR! network This is a problem ...
🌐
Draftbit Community
community.draftbit.com › c › help › problems-installing-expo-cli
Problems installing expo-cli [resolved] | The Draftbit Community
November 29, 2021 - I'm trying to build my apps locally so I can publish them to the App Store and iOS store. I'm working on Terminal on my MacBook. When I try running $ npm install -g expo-cliI run into all sorts of dependency errors: [Screen Shot 2021-11-29 ...
🌐
NotJust
notjust.dev › blog › 2021-11-04-expo-development-environment-setup-for-first-react-native-project-windows
Expo Development Environment Setup on Windows
To install Expo CLI, you simply have to open the terminal and type npm install --global expo-cli. That's it, it's that easy!
🌐
Expo Documentation
docs.expo.dev › develop › tools
Tools for development - Expo Documentation
September 11, 2025 - Expo CLI is a development tool and is installed automatically with expo package when you create a new project.