Skip to content

Commit 9d9da0f

Browse files
authored
feat(installation): update project create command (#33)
1 parent 2b321a4 commit 9d9da0f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

documentation/docs/installation.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ To start a new React Native project, use the **init** command from the CLI and c
1616
npx react-native init APP_NAME --template @mindinventory/react-native-boilerplate
1717
```
1818

19+
or
20+
21+
```jsx title=">_ terminal"
22+
npx @react-native-community/cli@latest init APP_NAME --template @mindinventory/react-native-boilerplate
23+
```
24+
25+
<br />
26+
:::note
27+
- Both commands will initialize a new React Native project with boilerplate code.
28+
- The `npx react-native init` command uses the globally available react-native package to create a new React Native project.
29+
- The `@react-native-community/cli` command is actively maintained, and CLI is recommended for creating React Native projects. It offers more features, bug fixes, and improvements.
30+
:::
31+
32+
33+
1934
## Get the project up and running
2035

2136
Once you've installed everything needed, follow these steps to launch the project:

0 commit comments

Comments
 (0)