Start the metro bundler with a clean cache

react-native

react-native start --reset-cache

click the source code to copy install react-native on any operating system with command-not-found.com