diff --git a/apps/website/docs/index.md b/apps/website/docs/index.md index 44e5e12..a8a87e8 100644 --- a/apps/website/docs/index.md +++ b/apps/website/docs/index.md @@ -49,6 +49,10 @@ Try out Sparo in 5 easy steps: 2. For this demo, we'll use the Azure SDK which is a large public [RushJS](https://rushjs.io/) monorepo from GitHub. The following command will check out the [skeleton folders](./pages/reference/skeleton_folders.md) but not the source code: ```shell + # Globally install the Sparo CLI from NPM + npm install -g sparo + + # Use Sparo to clone your repository sparo clone https://github.com/Azure/azure-sdk-for-js.git cd azure-sdk-for-js diff --git a/apps/website/docs/pages/guide/getting_started.md b/apps/website/docs/pages/guide/getting_started.md index 8d8a149..a53fec8 100644 --- a/apps/website/docs/pages/guide/getting_started.md +++ b/apps/website/docs/pages/guide/getting_started.md @@ -15,6 +15,10 @@ For macOS, we recommend to use [brew install git](https://git-scm.com/download/m Clone your [RushJS](https://rushjs.io/) monorepo: ```shell +# Globally install the Sparo CLI from NPM +npm install -g sparo + +# Use Sparo to clone your repository sparo clone https://github.com/my-company/my-monorepo.git cd my-monorepo diff --git a/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/index.md b/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/index.md index e8a51f2..19802d2 100644 --- a/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/index.md +++ b/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/index.md @@ -48,6 +48,10 @@ Sparo 优化了 Git 操作在大型前端 monorepo 中的性能。 2. 在此演示中,我们将使用 Azure SDK,这是 GitHub 上一个大型的公共 [RushJS](https://rushjs.io/) monorepo。以下命令将签出[骨架文件夹](./pages/reference/skeleton_folders.md),但不会签出源代码: ```shell + # 从 NPM 全局安装 Sparo CLI + npm install -g sparo + + # 使用 Sparo 克隆你的仓库 sparo clone https://github.com/Azure/azure-sdk-for-js.git cd azure-sdk-for-js diff --git a/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/guide/getting_started.md b/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/guide/getting_started.md index bf15c59..99e4711 100644 --- a/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/guide/getting_started.md +++ b/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/guide/getting_started.md @@ -15,6 +15,10 @@ title: 入门指南 克隆您的 [RushJS](https://rushjs.io/) monorepo: ```shell +# 从 NPM 全局安装 Sparo CLI +npm install -g sparo + +# 使用 Sparo 克隆你的仓库 sparo clone https://github.com/my-company/my-monorepo.git cd my-monorepo