1. View current reactnative version
React-native–version 2. Update the global reactnative to the latest version
sudo npm update-g react-native-cli 3. View version information for server-side reactnative
NPM info react-native 4. Download a general project to download the installation RN environment, according to the configuration of the Package.json
NPM install 5. Update the RN Environment code according to the RN version of the Package.json configuration
React-native upgrade 6. Run Android Project
React-native run-android 7. Run iOS Project
React-native Run-ios 8. Initialize a project, download all source code and dependencies for react native
React-native Init project name 9. Project degraded or upgraded to the specified version
NPM Install–save react-native@0.18
Remember react-native upgrade update project Dependencies 10. Install a LIB to project
NPM Install React-native-storage–save