From 547c7b27012766a6a8495a6c22af6de0c752d076 Mon Sep 17 00:00:00 2001 From: Daniel Kaplan Date: Wed, 17 Jan 2024 14:49:03 -0800 Subject: [PATCH] State default configuration file affected by `npm config set` --- docs/lib/content/commands/npm-config.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/lib/content/commands/npm-config.md b/docs/lib/content/commands/npm-config.md index 60776f33ad4cf..c3a67f6349eb3 100644 --- a/docs/lib/content/commands/npm-config.md +++ b/docs/lib/content/commands/npm-config.md @@ -33,7 +33,8 @@ npm config set key=value [key=value...] npm set key=value [key=value...] ``` -Sets each of the config keys to the value provided. +Sets each of the config keys to the value provided. Modifies the user configuration +file unless [`location`](/commands/npm-config#location) is passed. If value is omitted, the key will be removed from your config file entirely.