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