1. Download node.js and select the appropriate version at https://nodejs.org/en/download/ .
2. Check if node.js is installed successfully.
hueyMB:~ zhisenzheng$ node -v v8.11.1 hueyMB: ~ zhisenzheng $ npm -v 5.6.0
3. Install create-react-app.
npm install -g create-react-app
4. Create an application.
create-react-app my-app
5. Run the application.
cd my-app nmp start