npm install react.js code example Example: npm create react app npx --ignore-existing create-react-app .