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

相关推荐
ALex_zry3 小时前
Redis Cluster 分布式缓存架构设计与实践
redis·分布式·缓存
shuair7 小时前
redis缓存预热、缓存击穿、缓存穿透、缓存雪崩
redis·spring·缓存
上架ipa8 小时前
redis图形化客户端功能对比
redis·缓存
历程里程碑12 小时前
21:重谈重定义理解一切皆“文件“及缓存区
linux·c语言·开发语言·数据结构·c++·算法·缓存
fengxin_rou14 小时前
[Redis从零到精通|第三篇]:缓存更新指南
java·数据库·redis·spring·缓存
卷卷的小趴菜学编程14 小时前
项目篇----仿tcmalloc的内存池设计(page cache)
c++·缓存·单例模式·tcmalloc·内存池·span cache
踩坑小念1 天前
秒杀场景下如何处理redis扣除状态不一致问题
数据库·redis·分布式·缓存·秒杀
J_liaty1 天前
Redis 超详细入门教程:从零基础到实战精通
数据库·redis·缓存
難釋懷1 天前
优惠卷秒杀集群环境下的并发问题
redis·缓存
可涵不会debug1 天前
Redis魔法学院——第四课:哈希(Hash)深度解析:Field-Value 层级结构、原子性操作与内部编码优化
数据库·redis·算法·缓存·哈希算法