DEV Community

Cover image for Create your first React App on a Windows PC
Abdullahi Salaudeen
Abdullahi Salaudeen

Posted on

Create your first React App on a Windows PC

Building your first React app on a Windows computer may seem complicated, but don't worry, you're on the right track. React is a JavaScript library developed by Facebook in 2013 for building and managing large-scale applications with ease.

When creating a React app on a PC, you need to have your terminal open. I recommend using the Windows PowerShell. To open the Windows PowerShell, right-click the Windows icon on your PC and click on the PowerShell terminal.

Now that the PowerShell is open, we are halfway through the process. What you need to do next is navigate to the folder where you want to create your React app by typing:

cd ‘folderToNavigateTo’
Enter fullscreen mode Exit fullscreen mode

After navigating to the folder where our React app will be created and located. The next step is to create our React app in the chosen folder by typing the following command:

npx create-react-app@5 myreact
Enter fullscreen mode Exit fullscreen mode

Replace ‘myreact’ with the name you want to give to your project or new application. After that, loading and installing all the required packages will take some time. Before proceeding, ensure you have the Visual Studio Code editor installed on your PC. Once the React app has been successfully installed and loaded, you can navigate to your project folder by typing "cd ‘myreact’" once again and open VS Code by typing:

code .

Enter fullscreen mode Exit fullscreen mode

This command will automatically open the folder in VS Code. Now you can start practicing and building your React application with ease.

CONGRATULATIONS! 🎉 You’ve just created your first React app! 🥳🥳 If you have any questions or need further assistance as you work on your React project, feel free to reach out in the comment or read the detailed article on medium with image guilds. Good luck with your development journey! 🚀👏

Thanks for your time❤️. I’m on Twitter: theonlyabdull and Linkedin: Abdullah Salaudeen.

Top comments (0)