From a9c174162d732e2158b99630833e4c3e9a7fd4f5 Mon Sep 17 00:00:00 2001 From: serverless-devs Date: Wed, 21 Feb 2024 03:55:14 +0000 Subject: [PATCH] commit by Serverless devs docs 2-21-2024 3:55:14 --- content/en/serverless-devs/quick_start.md | 2 +- content/zh/serverless-devs/quick_start.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/serverless-devs/quick_start.md b/content/en/serverless-devs/quick_start.md index e22d152..c3ce723 100644 --- a/content/en/serverless-devs/quick_start.md +++ b/content/en/serverless-devs/quick_start.md @@ -35,7 +35,7 @@ $ yarn global add @serverless-devs/s > **illustrate**: > - If you execute the command under Linux or macOS and report an error and the error message is `Command not found`, please execute the command `ln -s serverless-devs installation location /usr/bin`, serverless-devs installation location can be found by `find / -name s`. > - If an error is reported when executing this command under Linux and the error message is `Error: EACCES: permission denied`, please execute the command `npm install @serverless-devs/s -g`. -> - If you have a slow installation process in mainland, you can consider using Taobao npm source. The installation command is `npm --registry=https://registry.npm.taobao.org install @serverless-devs/s -g`. +> - If you have a slow installation process in mainland, you can consider using Taobao npm source. The installation command is `npm --registry=https://registry.npmmirror.com install @serverless-devs/s -g`. ### Install by downloading the binary Open the [releases](https://github.com/Serverless-Devs/Serverless-Devs/releases) page, select a release compressed package link corresponding to the platform in the latest version, and click to download directly. diff --git a/content/zh/serverless-devs/quick_start.md b/content/zh/serverless-devs/quick_start.md index ff9c19e..82f2415 100644 --- a/content/zh/serverless-devs/quick_start.md +++ b/content/zh/serverless-devs/quick_start.md @@ -34,7 +34,7 @@ $ yarn global add @serverless-devs/s > **说明**: > - 如果在 Linux 或 MacOS 下执行该命令报错且报错信息为 `未找到命令`,请执行命令 `ln -s serverless-devs安装位置 /usr/bin`,serverless-devs安装位置可以通过`find / -name s` 查找。 > - 如果在 Linxu 下执行该命令报错且报错信息为 `Error: EACCES: permission denied`,请执行命令 `npm install @serverless-devs/s -g`。 -> - 如果安装过程较慢,可以考虑使用淘宝 npm 源,安装命令为 `npm --registry=https://registry.npm.taobao.org install @serverless-devs/s -g`。 +> - 如果安装过程较慢,可以考虑使用淘宝 npm 源,安装命令为 `npm --registry= https://registry.npmmirror.com install @serverless-devs/s -g`。 ### 通过下载二进制安装 打开 [releases](https://github.com/Serverless-Devs/Serverless-Devs/releases) 页面,在最新的发布版本(Release)中选择对应平台的压缩包,点击直接下载。