npm i react project code example Example 1: npm create react app npx --ignore-existing create-react-app . Example 2: create new react app Create new react app