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

相关推荐
jayaccc21 小时前
前端缓存全解析:提升性能的关键策略
前端·缓存
无限大.21 小时前
为什么“缓存“能提高系统性能?——从 CPU 缓存到分布式缓存
分布式·缓存
num_killer21 小时前
小白的RAG缓存
缓存·ai·aigc
一顿操作猛如虎,啥也不是!21 小时前
redis注册成windows服务,开机启动
数据库·redis·缓存
@淡 定1 天前
Redis热点Key独立集群实现方案
数据库·redis·缓存
longson.1 天前
怎样避免空间碎片而且高效的分配空间
嵌入式硬件·缓存
不染尘.1 天前
进程切换和线程调度
linux·数据结构·windows·缓存
xixixi777772 天前
CDN(内容分发网络)——缓存和分发网站、应用程序、视频等内容,以提高用户访问速度和稳定性,减少网络延迟和拥塞,同时减轻源服务器的压力
网络·缓存·架构·系统架构·cdn·业务·内容分发网络
ANnianStriver2 天前
redis安装包方式下载安装
数据库·redis·缓存
Psycho_MrZhang2 天前
页缓存技术(PageCache/sendfile/mmap)
缓存