From 822ccf2d6633ab3c7fe5f54d3570da20214ff190 Mon Sep 17 00:00:00 2001 From: rxliuli Date: Sun, 6 Jun 2021 09:23:22 +0800 Subject: [PATCH] =?UTF-8?q?docs(@liuli-util/shell):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=20FAQ?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/shell/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/shell/README.md b/apps/shell/README.md index 30a1f7d2..b3ee29eb 100644 --- a/apps/shell/README.md +++ b/apps/shell/README.md @@ -8,8 +8,6 @@ ```shell yarn add -D @liuli-util/shell -# 或全局安装 -npm i -g @liuli-util/shell ``` 命令 @@ -47,3 +45,7 @@ mv images/ dist/ | 是否覆盖系统命令 | 是 | 否 | | 是否增强命令 | 是 | 否 | | 底层依赖 | fs-extra | shelljs | + +### 为什么全局安装没有覆盖系统命令? + +由于环境变量的加载顺序导致无法覆盖,你应该在项目级别使用它。