Your error screenshot clearly says that the "Expo cli" you are using, has been deprecated, which means it is discontinued.
It is suggesting you to use the "new Expo CLI" instead, which comes bundled in the Expo package.
Now, to install the Expo-camera, all you need to do is run : npx expo install expo-camera
The above command will install Expo-Camera module for your native React app. The documentation is here : https://www.npmjs.com/package/expo-camera
Please note that Expo-camera module requires "Expo" to be installed first. To install Expo, run this : npx install-expo-modules@latest
Documentation: https://docs.expo.dev/bare/installing-expo-modules/
If this is helpful, mark as Answer