Skip to content

Commit 212cd89

Browse files
fix: RN CLI packaga name (#4117)
1 parent d6227d3 commit 212cd89

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/get-started-without-a-framework.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To do so, you'll first need to [set up your environment](set-up-your-environment
2424
You can use [React Native Community CLI](https://github.com/react-native-community/cli) to generate a new project. Let's create a new React Native project called "AwesomeProject":
2525

2626
```shell
27-
npx react-native-community@latest init AwesomeProject
27+
npx @react-native-community/cli@latest init AwesomeProject
2828
```
2929

3030
This is not necessary if you are integrating React Native into an existing application, or if you've installed [Expo](https://docs.expo.dev/bare/installing-expo-modules/) in your project, or if you're adding Android support to an existing React Native project (see [Integration with Existing Apps](integration-with-existing-apps.md)). You can also use a third-party CLI to set up your React Native app, such as [Ignite CLI](https://github.com/infinitered/ignite).
@@ -44,7 +44,7 @@ If you are having trouble with iOS, try to reinstall the dependencies by running
4444
If you want to start a new project with a specific React Native version, you can use the `--version` argument:
4545

4646
```shell
47-
npx react-native-community@X.XX.X init AwesomeProject --version X.XX.X
47+
npx @react-native-community/cli@X.XX.X init AwesomeProject --version X.XX.X
4848
```
4949

5050
You can also start a project with a custom React Native template with the `--template` argument, read more [here](https://github.com/react-native-community/cli/blob/main/docs/init.md#initializing-project-with-custom-template).

website/versioned_docs/version-0.74/get-started-without-a-framework.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To do so, you'll first need to [set up your environment](set-up-your-environment
2424
You can use [React Native Community CLI](https://github.com/react-native-community/cli) to generate a new project. Let's create a new React Native project called "AwesomeProject":
2525

2626
```shell
27-
npx react-native-community@latest init AwesomeProject
27+
npx @react-native-community/cli@latest init AwesomeProject
2828
```
2929

3030
This is not necessary if you are integrating React Native into an existing application, or if you've installed [Expo](https://docs.expo.dev/bare/installing-expo-modules/) in your project, or if you're adding Android support to an existing React Native project (see [Integration with Existing Apps](integration-with-existing-apps.md)). You can also use a third-party CLI to set up your React Native app, such as [Ignite CLI](https://github.com/infinitered/ignite).
@@ -44,7 +44,7 @@ If you are having trouble with iOS, try to reinstall the dependencies by running
4444
If you want to start a new project with a specific React Native version, you can use the `--version` argument:
4545

4646
```shell
47-
npx react-native-community@X.XX.X init AwesomeProject --version X.XX.X
47+
npx @react-native-community/cli@X.XX.X init AwesomeProject --version X.XX.X
4848
```
4949

5050
You can also start a project with a custom React Native template with the `--template` argument, read more [here](https://github.com/react-native-community/cli/blob/main/docs/init.md#initializing-project-with-custom-template).

0 commit comments

Comments
 (0)