We first need to verify what version of Node and NPM your local machine is running. Go ahead and enter the following in your command line:
node -v && npm -v
You'll need at least Node v6 or above and NPM v5.2 or above (to use npx instead of npm) for
create-react-app to work.
Now you can create your React App! Head to the directory you want to create it at and run:
npx create-react-app playground
Keep in mind 'playground' can be changed to anything you want. This is just the title of your app. It will take a moment to install all the dependencies to run and build.
Now we're going to change directories and see the template React has created for us
cd playground npm start
A new browser should open up with your new template! You're now ready to get started on your first React App. Please see my other blog posts on more things React :)
Level up every day