Skip to content

Commit 1bff064

Browse files
authored
docs(config): document npm config fix (#5819)
1 parent 50d2ec2 commit 1bff064

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

+10
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,16 @@ npm config edit
8383
Opens the config file in an editor. Use the `--global` flag to edit the
8484
global config.
8585

86+
#### fix
87+
88+
```bash
89+
npm config fix
90+
```
91+
92+
Attempts to repair invalid configuration items. Usually this means
93+
attaching authentication config (i.e. `_auth`, `_authToken`) to the
94+
configured `registry`.
95+
8696
### Configuration
8797

8898
<!-- AUTOGENERATED CONFIG DESCRIPTIONS -->

0 commit comments

Comments
 (0)