React native is now one of the most usable mobile application development language in market because its easiness. As we all know react native is rapidly evolving so after some time there is always a new version for developers to upgrade. But some of us don’t know the easiest way to Upgrade Current React Native Project Version to Latest Version by simply typing a command in Command prompt in Windows & typing a command in Terminal in MAC OS. So in this tutorial we would Upgrade Current Old React Native Project Version to Latest Version. So let’s get started 🙂 .
Contents in this project Upgrade Current React Native Project Version to Latest Version:
1. I have a older 0.60 version of react native project and I’ll update that project into latest 0.63.3 version by simply executing a command in Command Prompt in windows & Terminal in MAC. So first we will start the Command Prompt as Run As Administrator in Windows.
1 |
npm install --save react-native@0.63.3 |
Screenshot of CMD:
Screenshot of CMD after executing after command:
Now our project is successfully upgraded into latest 0.63 version. To confirm the upgrade process we would execute the react-native upgrade command in our react native project directory.