1// Go into the folder where you wish to create your app
2yarn create react-app appname
1yarn create react-app my-app
2# or
3npx create-react-app my-app
4# or
5npm init react-app my-app
6
7cd my-app
8yarn start # or npm start
1npx create-react-app my-app
2cd my-app
3npm start
4//Note:npx on the first line is not a typo —
5//it’s a package runner tool that comes with npm 5.2+.