How to check the installed version of React-Native

Emre Kenci picture Emre Kenci · May 21, 2016 · Viewed 254.1k times · Source

I'm going to upgrade react-native but before I do, I need to know which version I'm upgrading from to see if there are any special notes about upgrading from my version.

How do I find the version of react-native I have installed on my Mac?

Answer

Nader Dabit picture Nader Dabit · May 21, 2016

To see what version you have on your Mac(Window also can run that code.), run react-native -v and you should get something like this:

enter image description here

If you want to know what version your project is running, look in /node_modules/react-native/package.json and look for the version key:

enter image description here