To work on a React application, there is little bit of setup we've to do in our computer.
First, we've to install/update Node.Js on our computer. Because, we're going to use Node to actually generate a React project.
I'm assuming that you've already completed the Web Development 201 course and there you've installed Node.Js in your computer using NVM.
To check the current version of Node.Js installed in your system, you can run the following command:
node -v
If you are getting a version number, that means you already have Node installed and you do not need to reinstall it. It doesn't really matter what version you have, any modern Node version will work fine.
Now if you see, the version of Node installed in your computer needs to be updated, you can use the following NVM command to get the list of all available versions:
nvm ls-remote
To install a LTS version of Node.Js, just run:
nvm install --lts
Or if you want, you can also install any specific version as well:
nvm install 18
That’s it, your system is totally ready for starting your learning journey with React.js. See you in the next lesson.