CLI to add react-native-windows to an existing react-native project
npm install react-native-windows-initreact-native projects.
react-native project, to install react-native-windows and generate initial project files for windows.
npx react-native-windows-init --language cpp
`
Options:
| option | description | type |
|-------------|------------------------------------------------|--------------------------------------------------|
| --help | Show help | [boolean] |
| --version | The version of react-native-windows to use. | [string] |
| --namespace | The native project namespace. | [string] |
| --verbose | Enables logging. | [boolean] |
| --language | Which language the app is written in. | [string] [choices: "cs", "cpp"] [default: "cpp"] |
| --overwrite | Overwrite any existing files without prompting | [boolean] |
| --useWinUI3 | Targets WinUI 3 (through the Windows App SDK) instead of UWP XAML. | [boolean] |
| --useHermes | Use Hermes instead of Chakra as the JS engine (supported on 0.64+) | [boolean] |
| --no-telemetry` | Disables sending telemetry that allows analysis of failures of the react-native-windows CLI | [boolean] |