Create React App has a global NPM package that must be installed before you can use the command-line utility to actually create a React application. To install the latest version of the Create React App global script, execute the following command in a console or Terminal window:
>npm install -g create-react-app