

npx react- native-windows- init -overwrite

Lastly, install the React Native for Windows packages. Once your project has been initialized, React Native will have created a new sub directory where all your generated files live. Navigate into this newly created directory Npx -ignore-existing react-native init -template instead. To create TypeScript template, run npx react-native init -template you've installed react native globally in the past, via npm install -g react-native, and are having issues with the new instructions, try adding -ignore-existing to your npx command:

npx react-native init -template react- 0.62. Remember to call react-native init from the place you want your project directory to live. If you're looking to build directly from the repo or you want to make contributions to the react-native-windows, check out the guide for building the react-native-windows repo.įor information around how to set up React Native, see the React Native Getting Started Guide. Make sure you have installed all of the development dependencies. This guide will help you get started on setting up your very first React Native for Windows app.
