diff --git a/docs/react/practical-projects.en-US.md b/docs/react/practical-projects.en-US.md index 55d1383cdf..78dc79dd9b 100644 --- a/docs/react/practical-projects.en-US.md +++ b/docs/react/practical-projects.en-US.md @@ -24,7 +24,7 @@ $ cd myapp It is recommended to use yarn to create an application and execute the following command. -> If you insist on using npm, execute `npm install -g create-umi && create-umi` and the effect will be the same. +> If you are using npm, execute `npm create umi` and the effect will be the same. ```bash $ yarn create umi diff --git a/docs/react/practical-projects.zh-CN.md b/docs/react/practical-projects.zh-CN.md index ccd191e9f3..006129b45b 100644 --- a/docs/react/practical-projects.zh-CN.md +++ b/docs/react/practical-projects.zh-CN.md @@ -24,7 +24,7 @@ $ cd myapp 推荐使用 yarn 创建应用,执行以下命令, -> 如果你坚持用 npm,可执行 `npm install -g create-umi && create-umi`,效果一致。 +> 如果你使用 npm,可执行 `npm create umi`,效果一致。 ```bash $ yarn create umi