Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ For information around how to set up React Native, see the [React Native Getting

Call the following from the place where you want your project directory to live:

<!-- Note, make sure both `@react-native-community/cli@ABC` and `--version "XYZ"` are pointing to the correct NPM tags in the command below. -->
<!-- Note, make sure both `@react-native-community/cli@ABC` and `--version XYZ` are pointing to the correct NPM tags in the command below. -->

<!-- 1. For the next version (i.e. in docs/getting-started.md) use "next" for the CLI and "nightly" for the RN version -->
<!-- 2. For stable versions in versioned_docs use "latest" for the CLI and the semantic version, i.e. "^0.73.0" for the RN version -->
<!-- 1. For the next version (i.e. in docs/getting-started.md) use `next` for the CLI and `nightly` for the RN version -->
<!-- 2. For stable versions in versioned_docs use `latest` for the CLI and the semantic version, i.e. `^0.73.0` for the RN version -->

<!-- See https://www.npmjs.com/package/@react-native-community/cli?activeTab=versions for the CLI version tags. -->
<!-- See https://www.npmjs.com/package/react-native?activeTab=versions for the RN version tags. -->

```bat
npx --yes @react-native-community/cli@next init <projectName> --version "nightly"
npx --yes @react-native-community/cli@next init <projectName> --version nightly
```

### Navigate into this newly created directory
Expand All @@ -37,10 +37,10 @@ cd <projectName>

### Add React Native Windows to your project's dependencies

<!-- Note, make sure "version" is pointing to the correct react-native-windows NPM tag in the command below. -->
<!-- Note, make sure `version` is pointing to the correct react-native-windows NPM tag in the command below. -->

<!-- 1. For the next version (i.e. in docs/getting-started.md) use "canary" -->
<!-- 2. For other versions in versioned_docs use the version in the format "^0.XY.0" -->
<!-- 1. For the next version (i.e. in docs/getting-started.md) use `canary` -->
<!-- 2. For other versions in versioned_docs use the version in the format `^0.XY.0` -->

Next you'll want to add `react-native-windows` as a dependency:

Expand Down