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