How to create a React app directly in the current folder

Niko Roberts picture Niko Roberts · Mar 9, 2019 · Viewed 27k times · Source

I know I've done it before but I can't seem to find the answer anywhere. I want to run create-react-app without creating a whole other folder within the folder I'm already in. I believe it is just an additional flag appended to the command.

Answer

Tholle picture Tholle · Mar 9, 2019

You can create a new React app in the current directory by writing . instead of a project name.

create-react-app .