diff --git a/docs/react/migration-v4.en-US.md b/docs/react/migration-v4.en-US.md index 031ef74118..5528fc2db2 100644 --- a/docs/react/migration-v4.en-US.md +++ b/docs/react/migration-v4.en-US.md @@ -130,7 +130,7 @@ npx -p @ant-design/codemod-v4 antd4-codemod src # Use npm npm i -g @ant-design/codemod-v4 # Use yarn -yarn add -g @ant-design/codemod-v4 +yarn global add @ant-design/codemod-v4 # Execute antd4-codemod src diff --git a/docs/react/migration-v4.zh-CN.md b/docs/react/migration-v4.zh-CN.md index 9903486cdb..5ca8aa9bf0 100644 --- a/docs/react/migration-v4.zh-CN.md +++ b/docs/react/migration-v4.zh-CN.md @@ -130,7 +130,7 @@ npx -p @ant-design/codemod-v4 antd4-codemod src # 使用 npm npm i -g @ant-design/codemod-v4 # 或者使用 yarn -yarn add -g @ant-design/codemod-v4 +yarn global add @ant-design/codemod-v4 # 运行 antd4-codemod src