Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/lib/content/commands/npm-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,38 @@ The primary guarantee that the cache makes is that, if it does return data, that

To run an offline verification of existing cache contents, use `npm cache verify`.

### Examples

Verify the cache and clean up any corrupted data:

```bash
npm cache verify
```

Clean the entire cache (requires `--force`):

```bash
npm cache clean --force
```

List all packages in the npx cache:

```bash
npm cache npx ls
```

Remove a specific package from the npx cache:

```bash
npm cache npx rm create-react-app
```

Get detailed information about a package in the npx cache:

```bash
npm cache npx info cowsay
```

### Configuration

<!-- AUTOGENERATED CONFIG DESCRIPTIONS -->
Expand Down
Loading