Skip to content

Commit 7e5f802

Browse files
authored
Update _getting-started-macos-ios.md
1 parent 74600b3 commit 7e5f802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cnwebsite/versioned_docs/version-0.75/_getting-started-macos-ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ brew install cocoapods
8080
使用 React Native 内建的命令行工具来创建一个名为"AwesomeProject"的新项目。这个命令行工具不需要安装,可以直接用 node 自带的`npx`命令来使用(注意 init 命令默认会创建最新的版本):
8181

8282
```shell
83-
npx @react-native-community/clilatest init AwesomeProject
83+
npx @react-native-community/cli@latest init AwesomeProject
8484
```
8585

8686
> **注意一**:请`不要`在目录、文件名中使用中文、空格等特殊符号。请`不要`单独使用常见的关键字作为项目名(如 class, native, new, package 等等)。请`不要`使用与核心模块同名的项目名(如 react, react-native 等)。

0 commit comments

Comments
 (0)