Skip to content

Commit 05c69dc

Browse files
authored
docs(config): State default configuration file affected by npm config set (#7150)
State default configuration file affected by `npm config set`
1 parent 44f4518 commit 05c69dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/lib/content/commands/npm-config.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ npm config set key=value [key=value...]
3333
npm set key=value [key=value...]
3434
```
3535

36-
Sets each of the config keys to the value provided.
36+
Sets each of the config keys to the value provided. Modifies the user configuration
37+
file unless [`location`](/commands/npm-config#location) is passed.
3738

3839
If value is omitted, the key will be removed from your config file entirely.
3940

0 commit comments

Comments
 (0)