Created
July 19, 2026 03:25
-
-
Save bigntallmike/e1f1088e40193aa5148a1bc1666c2054 to your computer and use it in GitHub Desktop.
[Used LLM] A possible format for sharing how to clear space used by random common tools, generated by Gemini.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "_comment_manifest": "DEVELOPER TOOL STORAGE MANIFEST: This JSON file lists common CLI tools, their cache/temporary directory paths across different Operating Systems, and official clear commands.", | |
| "schema_version": "1.0", | |
| "tools": [ | |
| { | |
| "id": "uv", | |
| "name": "uv (Astral)", | |
| "description": "An extremely fast Python package installer and resolver, written in Rust.", | |
| "_comment_tool": "uv heavily relies on caching to achieve its performance. Its cache is content-addressed.", | |
| "storage": [ | |
| { | |
| "category": "cache", | |
| "description": "Main content-addressed cache containing wheels, source distributions, and repository metadata.", | |
| "default_paths": { | |
| "linux": "~/.cache/uv", | |
| "macos": "~/Library/Caches/uv", | |
| "windows": "%LOCALAPPDATA%\\uv\\cache" | |
| }, | |
| "environment_variables": [ | |
| { | |
| "name": "UV_CACHE_DIR", | |
| "description": "Overrides the default cache directory path." | |
| } | |
| ], | |
| "cleanup": { | |
| "official_commands": [ | |
| { | |
| "command": "uv cache clean", | |
| "description": "Removes all cached data from the uv cache directory.", | |
| "risk_level": "low" | |
| }, | |
| { | |
| "command": "uv cache prune", | |
| "description": "Removes only unused or outdated entries from the cache while keeping active wheels.", | |
| "risk_level": "low" | |
| } | |
| ], | |
| "manual_safe_deletion": true | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "pip", | |
| "name": "pip", | |
| "description": "The standard package installer for Python.", | |
| "storage": [ | |
| { | |
| "category": "cache", | |
| "description": "Stores downloaded wheels and HTTP response caches.", | |
| "default_paths": { | |
| "linux": "~/.cache/pip", | |
| "macos": "~/Library/Caches/pip", | |
| "windows": "%LOCALAPPDATA%\\pip\\Cache" | |
| }, | |
| "environment_variables": [ | |
| { | |
| "name": "PIP_CACHE_DIR", | |
| "description": "Overrides the default pip cache location." | |
| } | |
| ], | |
| "cleanup": { | |
| "official_commands": [ | |
| { | |
| "command": "pip cache purge", | |
| "description": "Removes all items from the local wheel cache.", | |
| "risk_level": "low" | |
| }, | |
| { | |
| "command": "pip cache remove <pattern>", | |
| "description": "Removes items matching a specific pattern from the cache.", | |
| "risk_level": "low" | |
| } | |
| ], | |
| "manual_safe_deletion": true | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "id": "npm", | |
| "name": "npm", | |
| "description": "The default package manager for Node.js.", | |
| "_comment_tool": "npm uses a content-addressable cache where all data is fully verified on extraction.", | |
| "storage": [ | |
| { | |
| "category": "cache", | |
| "description": "Stores tarballs, package manifests, and other network-fetched data.", | |
| "default_paths": { | |
| "linux": "~/.npm", | |
| "macos": "~/.npm", | |
| "windows": "%AppData%\\npm-cache" | |
| }, | |
| "cleanup": { | |
| "official_commands": [ | |
| { | |
| "command": "npm cache clean --force", | |
| "description": "Forces the clearance of the npm cache folder. Note that npm cache clean is disabled by default without --force.", | |
| "risk_level": "low" | |
| }, | |
| { | |
| "command": "npm cache verify", | |
| "description": "Verifies the contents of the cache folder, garbage collecting unneeded data and validating the index integrity.", | |
| "risk_level": "low" | |
| } | |
| ], | |
| "manual_safe_deletion": false | |
| } | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment