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 › cli
@expo/cli - npm
Installing versioned libraries with npx expo install this is a minimal utility born out of pure necessity since versioning in React Native is hard to get right. ... We highly recommend setting up an alias for the Expo CLI so you can try it in projects all around your computer.
      » npm install @expo/cli
    
Published   Dec 11, 2025
Version   54.0.19
Author   Expo
🌐
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
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
🌐
Expo Documentation
docs.expo.dev › more › expo-cli
Expo CLI - Expo Documentation
Expo CLI is included in the expo package. You can install it with npm or yarn:
🌐
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 Documentation
docs.expo.dev › bare › installing-expo-modules
Install Expo modules in an existing React Native project - Expo Documentation
The expo package has a small footprint; it includes only a minimal set of packages that are needed in nearly every app and the module and autolinking infrastructure that other Expo SDK packages are built with. Once the expo package is installed and configured in your project, you can use npx expo install to add any other Expo module from the SDK.
🌐
npm
npmjs.com › package › expo
expo - npm
The expo package is a single package you can install in any React Native app to begin using Expo modules. API Reference. includes core infrastructure for Expo modules: expo-modules-core and expo-modules-autolinking. bundles a minimal set of Expo modules that are required by nearly every app, such as expo-asset. 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 12, 2025
Version   54.0.29
Author   Expo
Find elsewhere
🌐
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!
🌐
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.
🌐
npm
npmjs.com › package › install-expo-modules
install-expo-modules - npm
expo install expo-device # the expo command is from expo-cli. if you don't have this, run `npm -g install expo-cli` to install.
      » npm install install-expo-modules
    
Published   Dec 08, 2025
Version   0.13.14
🌐
Expo Documentation
docs.expo.dev › bare › using-expo-cli
Migrate from React Native CLI to Expo CLI - Expo Documentation
If you want to try out Expo CLI for now without installing Expo Modules API, install the expo package with npm install and then configure the react-native.config.js to exclude the package from ...
🌐
Medium
riyagoel192.medium.com › installing-react-native-expo-cli-in-windows-d4b4d9eae524
Installing React Native Expo CLI in Windows | by Riya Goel | Medium
August 11, 2020 - Proceed to the third step by opening your Command prompt(CMD) and paste the given command in Step3 (npm install expo-cli — global) in your cmd. Doing this will help you install Expo CLI globally on your machine which will help you manage build ...
🌐
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
npm install -g expo-cli · 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 init my-project · In this case, the name of the ...
🌐
Ask Ubuntu
askubuntu.com › questions › 1250734 › npm-install-expo-cli-global
xserver - npm install expo-cli --global - Ask Ubuntu
error 1 [email protected] postinstall: node -e "try{require('./postinstall')}catch(e){}" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] postinstall script. npm ERR! This is probably not a problem with npm.
🌐
YouTube
youtube.com › watch
Installing Expo CLI, making an app, running the app - YouTube
Video #2:In this video I will show how to install expo-cli and create a new project. After that we will run the project with the tunneling command and then ...
Published   December 19, 2024
🌐
Medium
medium.com › featurepreneur › install-react-native-using-expo-cli-in-just-5-easy-steps-c3eb5b863a60
Install React Native using expo-cli in just 5 easy steps! | by Ishita Gopalakrishnan | featurepreneur | Medium
February 8, 2022 - 4) Install expo-cli · sudo npm install — global expo-cli · 5) In order to run your app, go to the respective directory and run the following command : expo start · Press enter or click to view image in full size · Picture credits :Manik ...
🌐
Boostrand
boostrand.com › install rnwp template › react native › how to setup your expo environment
How to Setup your Expo Environment - Boostrand
For Windows, this may be checked out by searching for “cmd” or by choosing the Nodejs command prompt from the start menu. For macOS or Linux, just search for “terminal”. After you access the terminal, you can simply type the command in the install link above...
Published   February 24, 2022
Views   0
🌐
GitHub
github.com › expo › expo › issues › 24957
"npm install -g expo-cli" doesn't update expo-cli · Issue #24957 · expo/expo
September 13, 2023 - When I run npm install -g expo-cli it successfully completes the update.
Published   Oct 20, 2023
🌐
GitHub
github.com › expo › expo-cli › discussions › 590
Can't install expo-cli · expo/expo-cli · Discussion #590
... iMac-Sergej:~ sergejanohin$ sudo npm install -g expo-cli Password: npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support).
Author   expo