File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,24 @@ _If you want to migrate an existing test app for a library, follow the
2727You can generate a new project using ` npx ` :
2828
2929``` sh
30- npx --package react-native-test-app@latest init
30+ npx --package react-native-test-app@< version> init
31+ # For example: npx --package react-native-test-app@4.2.3 init
3132```
3233
34+ You can always find the latest version here:
35+ https://github.com/microsoft/react-native-test-app/releases
36+
37+ Alternatively, if you're using a Bash-compatible shell:
38+
39+ ``` sh
40+ npx --package react-native-test-app@$( npm view react-native-test-app version) init
41+ ```
42+
43+ > [ !NOTE]
44+ >
45+ > We don't recommend using ` @latest ` because npm may not always use the latest
46+ > version. See https://github.com/npm/cli/issues/5262 for more details.
47+
3348In this example, we will create a project named "sample" in ` sample ` with apps
3449for all platforms:
3550
You can’t perform that action at this time.
0 commit comments