Sign in
Log inSign up
How to  install react web for Babies

How to install react web for Babies

Aryan Kathawale's photo
Aryan Kathawale
·Mar 14, 2022·

2 min read

To install React web is really easy all you need is ->

1.Node installed from here ->node install gigi1.png

then check if youve installed node correctly by checking version ,

node -v

or

node --version

kinda like this in your cmd / code editor gigi2.png

if it works , dont touch it 🙂. we gotta move forward .

2.install react using NPM , follow this command

npx create-react-app  myapp

here myapp can be anything or your choice . be sure to follow react convention

  • have names in lower case mostly with - , for example ->
    npx create-react-app rick-roll
    
    then ull see something like this ->

gigi3.png that just means , the installation is going to work out what's needed in a default react app and install everything . bear in mind that this process is a little long comparatively and i might suggest grabbing a cofee ☕ or a snacc while this is working out .

3.when the installation is done we do get a lovely message from react team that's nice ->

gigi4.png ull also see a new folder made with the name u chose ,

gigi5.png cd over to the folder and run

npm start

gigi6.png and then boom the server will start on it's own

gigi7.png

and that's how we install and run react but how to install things we do

npm i package

but that story is for another day thank you for the read .

by •/_\•