Skip to content

Commit 5a43c8d

Browse files
authored
Update react-native-for-android.md
1 parent 0c204f9 commit 5a43c8d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hub/dev-environment/javascript/react-native-for-android.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ React Native is an [open-source](https://github.com/facebook/react-native) mobil
4343
```powershell
4444
npx react-native init MyReactNativeApp
4545
```
46+
If you want to start a new project with a specific React Native version, you can use the `--version` argument. For information about versions of React Native, see [Versions - React Native](https://reactnative.dev/versions).
47+
48+
```powershell
49+
npx [email protected] init <projectName> --version X.XX.X
50+
```
4651
4752
2. Open your new "MyReactNativeApp" directory:
4853

0 commit comments

Comments
 (0)