how to check react version installed in global code example Example: how to check reactjs version in command prompt npm list react