From 8b62b79d5e87696a827ec0a0746345a09021c109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Kwa=C5=9Bniewski?= Date: Thu, 8 Jun 2023 23:06:24 +0200 Subject: [PATCH] docs: use latest react-native cli (#837) ## Description Hello, Goal of this PR is to use latest version of CLI when initializing the project same as in React Native docs. Also without the `"` I was getting an error in my console: `zsh: no matches found: react-native@^0.71.0` ###### Microsoft Reviewers: [Open in CodeFlow](https://portal.fabricbot.ms/api/codeflow?pullrequest=https://github.com/microsoft/react-native-windows-samples/pull/837) --- docs/rnm-getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rnm-getting-started.md b/docs/rnm-getting-started.md index 7fa53dce4..4ccc6dcff 100644 --- a/docs/rnm-getting-started.md +++ b/docs/rnm-getting-started.md @@ -16,7 +16,7 @@ For information around how to set up: Remember to call `react-native init` from the place you want your project directory to live. Be sure to use the same minor version between React Native and React Native macOS. We'll use `^0.71.0` ``` -npx react-native init --template react-native@^0.71.0 +npx react-native@latest init --template "react-native@^0.71.0" ``` ### Navigate into this newly created directory