check which react version linux node code example
Example 1: check react version
npm view react version
npm view react-script version
Example 2: create-react-app version check
{
...
...
...
"name": "react-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1"
},
...
...
...
}