From 997bcdf8d4fd3e5ecdd224060fb166b43c3ffb19 Mon Sep 17 00:00:00 2001 From: CharlieWONG Date: Wed, 19 Apr 2023 01:05:40 +0800 Subject: [PATCH] docs: fix npm cache folder location for windows (#6329) The default npm install folder for windows is located at %AppData%\npm The default npm cache folder for windows is located at %LocalAppData%\npm-cache --- docs/lib/content/configuring-npm/folders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lib/content/configuring-npm/folders.md b/docs/lib/content/configuring-npm/folders.md index 6295fd7e65d61..5fb4ca257fc33 100644 --- a/docs/lib/content/configuring-npm/folders.md +++ b/docs/lib/content/configuring-npm/folders.md @@ -72,7 +72,7 @@ Man pages are not installed on Windows systems. #### Cache See [`npm cache`](/commands/npm-cache). Cache files are stored in `~/.npm` on Posix, or -`%AppData%/npm-cache` on Windows. +`%LocalAppData%/npm-cache` on Windows. This is controlled by the [`cache` config](/using-npm/config#cache) param.