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
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
🌐
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:
🌐
Stack Overflow
stackoverflow.com › questions › 61693996 › cant-install-expo-cli-using-npm-in-ubuntu-operating-system
reactjs - Can't Install expo-cli using npm in ubuntu operating system? - Stack Overflow
$ sudo npm install -g expo-cli [sudo] password for maky: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/[email protected] (node_modules/expo-cli/node_modules/@expo/traveling-
🌐
AwesomeReactNative
awereactnative.com › awesomereactnative › how to's
How to setup React Native with Expo on Ubuntu | Awesome React Native
June 13, 2022 - To install Expo’s command line interface (CLI), type the following command in your Ubuntu terminal:
🌐
GitHub
github.com › expo › expo-cli › issues › 591
Expo CLI cant be installed in Linux · Issue #591 · expo/expo-cli
February 14, 2019 - Also, this only happens since latest expo cli, previously it worked fine. ... ]$ sudo npm install -g expo-cli npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support).
Published   May 08, 2019
🌐
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
Find elsewhere
🌐
Expo Documentation
docs.expo.dev › more › expo-cli
Expo CLI - Expo Documentation
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.
🌐
GitHub
github.com › expo › expo-cli › issues › 4622
Expo-cli not installing in Ubuntu 22.04 and not working with [email protected] · Issue #4622 · expo/expo-cli
October 20, 2022 - Summary expo-cli isn't working with [email protected] and needs updating. Please provide more info. Environment npm install -g expo-cli Please specify your device/emulator/simulator platform, model and version Ubuntu 22.04, Node JS 18.13.0 ...
Published   Jan 10, 2023
🌐
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 ...
🌐
GitHub
github.com › expo › expo-cli › issues › 1644
Can't install Expo CLI on Ubuntu Linux? · Issue #1644 · expo/expo-cli
npm install --global expo-cli [sudo] password for vuongxuan: npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142 npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi ...
🌐
GitHub
github.com › expo › expo-cli › issues › 613
I can not install here, Ubuntu 18.04.2 · Issue #613 · expo/expo-cli
February 26, 2019 - Without this package I can not generate apps ... sudo su [sudo] senha para rpmon: root@rpmon-Predator-G3-572:/home/rpmon# npm install -g expo-cli npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hap...
Published   May 14, 2019
🌐
Restack
restack.io › p › expo-cli-knowledge-download-expo-cli-for-windows
Download Expo CLI For Windows | Restackio
Open your WSL terminal (Ubuntu) and run the following command: ... This command installs Expo CLI globally, making it accessible from anywhere in your WSL environment.
🌐
GitHub
github.com › expo › expo › issues › 18349
Unable to install packages using expo-cli on Ubuntu · Issue #18349 · expo/expo
July 23, 2022 - CLIVersioned Expo CLI -- `npx expo start`Versioned Expo CLI -- `npx expo start`needs validationIssue needs to be validatedIssue needs to be validated ... I just installed Ubuntu on my machine and this is my first time using Expo on Ubuntu but I get the above error whenever I tried to install packages using expo-cli.
Published   Jul 23, 2022