From 8147e0a18b3f2642309603c874b80c7fb35d2784 Mon Sep 17 00:00:00 2001 From: "Y.D.X." <73375426+YDX-2147483647@users.noreply.github.com> Date: Sat, 28 Dec 2024 14:02:37 +0800 Subject: [PATCH] npm-cache: fix the command to show cache path (#15358) --- pages/common/npm-cache.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/npm-cache.md b/pages/common/npm-cache.md index 81121de35d..1837f64bcb 100644 --- a/pages/common/npm-cache.md +++ b/pages/common/npm-cache.md @@ -27,9 +27,9 @@ `npm cache verify` -- Show information about the npm cache location and configuration: +- Show the cache path: -`npm cache dir` +`npm config get cache` - Change the cache path: