clean
Clean package cache in global storage.
Alias: c
Usage
Terminal
ut clean [OPTIONS] [PATTERN]Examples
Terminal
# Clean all cache
ut clean
ut c
# Clean specific package cache
ut clean lodash
ut clean react*Options
| Option | Description |
|---|---|
--cache-dir <path> | Specify cache directory |
Cache Location
Default cache directory: ~/.cache/nm
See Storage Paths for more details.
Use Cases
- Free up disk space
- Force re-download of corrupted packages
- Clear outdated package versions
Last updated on