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