Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check Current version of React using command prompt

Tags:

I installed Reactjs using npm command creat-react-app. Now I want to check which version I installed

like image 866
Taizzzul Avatar asked Nov 18 '19 17:11

Taizzzul


2 Answers

Run the command npm list react or npm ls react from the root directory of your project. Docs.

like image 196
Brian Thompson Avatar answered Oct 06 '22 01:10

Brian Thompson


Just type the below command in your command prompt:

npm view react version

Example:

Command Prompt

There are multiple ways to check react version in your project: 6 Different ways to Check React Version | Terminal

like image 41
Dark Matter Avatar answered Oct 06 '22 00:10

Dark Matter