how to check reactjs version in command prompt

JavaScript
npm list react
Source

Also in JavaScript: