Skip to content

Commit 557e791

Browse files
authored
Merge pull request #75 from react-native-community/readme-cli-clarification
added further notes on the legacy CLI
2 parents f6a43f7 + 21d749e commit 557e791

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@
2525

2626
## :arrow_forward: Usage
2727

28-
### React Native >= 0.60
28+
> `react-native@0.60` or higher
2929
3030
```sh
3131
npx react-native init MyApp --template react-native-template-typescript
3232
```
3333

34-
> You may need to remove the globally installed **react-native-cli** (`npm uninstall -g react-native-cli`), for the above command to work. The global **react-native-cli** is deprecated, and no longer supported.
34+
### Note on the legacy CLI
35+
There seems to be quite some confusion about the legacy CLI. This template only works with the new CLI. Make sure you have uninstalled the legacy `react-native-cli` first (`npm uninstall -g react-native-cli`), for the above command to work. If you wish to not use `npx`, you can also install the new CLI globally (`npm i -g @react-native-community/cli` or `yarn global add @react-native-community/cli`).
36+
37+
Further information can be found here: https://github.com/react-native-community/cli#about
3538

3639
## :computer: Contributing
3740

0 commit comments

Comments
 (0)