install react on current folder code example Example 1: create react app in current folder create-react-app . Example 2: install react to current folder npx create-react-app .