nuget 管理全局包、缓存和临时文件夹

  1. 查看文件夹位置
bash 复制代码
dotnet nuget locals all --list
  1. 清空数据
bash 复制代码
# Clear the 3.x+ cache (use either command)
dotnet nuget locals http-cache --clear
nuget locals http-cache -clear

# Clear the 2.x cache (NuGet CLI 3.5 and earlier only)
nuget locals packages-cache -clear

# Clear the global packages folder (use either command)
dotnet nuget locals global-packages --clear
nuget locals global-packages -clear

# Clear the temporary cache (use either command)
dotnet nuget locals temp --clear
nuget locals temp -clear

# Clear the plugins cache (use either command)
dotnet nuget locals plugins-cache --clear
nuget locals plugins-cache -clear

# Clear all caches (use either command)
dotnet nuget locals all --clear
nuget locals all -clear

https://learn.microsoft.com/zh-cn/nuget/consume-packages/managing-the-global-packages-and-cache-folders#viewing-folder-locations

相关推荐
消失的旧时光-19431 小时前
第十四课 · 实战篇:Redis 缓存系统落地指南(Spring Boot 从 0 到可用)
spring boot·redis·缓存
池央2 小时前
CANN Catlass 算子模板库深度解析:GEMM 核心优化、模板元编程与片上缓存策略的协同
缓存
这周也會开心3 小时前
Redis数据类型的底层实现和数据持久化
数据库·redis·缓存
My LQS4 小时前
使用 Redis Stack 向量索引构建大模型问答缓存系统
redis·缓存·ai
IT陈图图19 小时前
CANN生态数据引擎:minddata的缓存策略与性能调优
缓存·cann
啦啦啦_99991 天前
Redis-2-queryFormat()方法
数据库·redis·缓存
forestsea1 天前
深入理解Redisson RLocalCachedMap:本地缓存过期策略全解析
redis·缓存·redisson
啦啦啦_99991 天前
Redis-0-业务逻辑
数据库·redis·缓存
自不量力的A同学1 天前
Redisson 4.2.0 发布,官方推荐的 Redis 客户端
数据库·redis·缓存
fengxin_rou1 天前
[Redis从零到精通|第四篇]:缓存穿透、雪崩、击穿
java·redis·缓存·mybatis·idea·多线程