EN
React start app from command line
8 points
In this article we would like to show you how to start react app from command line.
Quick solution - if we have npm installed:
xxxxxxxxxx
1
npm start
If we have yarn package manager:
xxxxxxxxxx
1
yarn start
Create new react app from scratch
xxxxxxxxxx
1
# create new react app
2
npx create-react-app my-new-app
3
4
# change directory to our new app
5
cd my-new-app
6
7
# start app with npm
8
npm start