Hello guys, In today’s tutorial we would learn about how can we check what version of react native CLI and react native is installed in our current RN project. So that we would know on which version of our RN project is running. So If we are on a old version we can upgrade it. There are a react native command available to check current project version in both windows and mac are react-native –version. Using this command we can know react native CLI version and react native project version. So in this tutorial we would learn about Check Current React Native Installed Project Version in Windows MAC.
Contents in this project Check Current React Native Installed Project Version in Windows MAC :-
1. Open your react native project Root directory in Command Prompt in Windows and Terminal in MAC.
2. Execute below command in your CMD screen.
1 |
react-native --version |
Mine React Native CLI version is 2.0.1
React Native version is 0.66.1