Installing react via nodejs as a third party library

Hi,
Please assist. I started my react module. Setting up the development environment. Downloaded node JS. Typing in $npm i-g [email protected] enter using windows.
Error: uncaught syntaxerror:unexpected identifier

First you need to check if node is installed on your system by running this:

node - - version

Please also check if you’re running the command correctly. Copy and paste this in your command prompt:

npx [email protected]