Node.js, npm 설치 확인
C:\Users\solat>node -v
v12.18.2
C:\Users\solat>npm -v
6.14.5
npx 설치
C:\Users\solat>npm install npx -g
C:\Users\solat\AppData\Roaming\npm\npx -> C:\Users\solat\AppData\Roaming\npm\node_modules\npx\index.js
+ npx@10.2.2
added 493 packages from 654 contributors in 20.86s
C:\Users\solat>npx -v
6.14.5
Git 설치 확인
C:\Users\solat>git --version
git version 2.27.0.windows.1
App 리액트 앱 설치
C:\Users\solat>npx create-react-app app
npx: installed 98 in 12.887s
Creating a new React app in C:\Users\solat\app
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
Removing .git directory...
Success! Created app at C:\Users\solat\app
Inside that directory, you can run several commands:
npm start
Starts the development server.
npm run build
Bundles the app into static files for production.
npm test
Starts the test runner.
npm run eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd app
npm start
Happy hacking!