arrow_back
Back

React installation: Create React App, Vite, and project setup

Andrew Dorokhov Andrew Dorokhov schedule 1 min read
menu_book Table of Contents

Homepage: open_in_new https://reactjs.org

To install an initial build we can use open_in_new Create React App .

Installation

npx create-react-app .

Using Docker:

docker container run --rm \
    --interactive \
    --tty \
    --volume "$PWD:/usr/src/app" \
    --workdir /usr/src/app \
    --user $(id -u):$(id -g) \
    node:21 npx create-react-app .

Start a project

npm start
docker container run --rm \
    --interactive \
    --tty \
    --volume "$PWD:/usr/src/app" \
    --workdir /usr/src/app \
    --user $(id -u):$(id -g) \
    node:21 npm start
code

Need Help with Development?

Happy to help — reach out via the contacts or go straight to my Upwork profile.

work View Upwork Profile arrow_forward
Next Article

React events: synthetic events, handlers, and controlled inputs

arrow_forward