Answers for "how to install react on mac"

2

how to install react on mac

#check version of both Node and NPM 
node --version
npm --version

#npm install react by following command
npm install --save react react-dom

#create new project by react following command
npx create-react-app my-react-project

#go to project
cd my-react-project

#start server
npm start
Posted by: Guest on April-20-2022

Code answers related to "how to install react on mac"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language