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

相关推荐
q***31838 小时前
Window下Redis的安装和部署详细图文教程(Redis的安装和可视化工具的使用)
数据库·redis·缓存
梁bk10 小时前
Redis 多级缓存架构学习笔记
redis·缓存·架构
q***816414 小时前
【Redis】centos7 systemctl 启动 Redis 失败
数据库·redis·缓存
敲上瘾17 小时前
Docker镜像构建优化指南:CMD/ENTRYPOINT、多阶段构建与缓存优化
运维·缓存·docker·容器·架构
m***56721 天前
Win10下安装 Redis
数据库·redis·缓存
闲人编程1 天前
Python的导入系统:模块查找、加载和缓存机制
java·python·缓存·加载器·codecapsule·查找器
-Xie-1 天前
Redsi(十)——缓存双写
缓存
沐浴露z1 天前
一张思维导图理清【Redis】
数据库·redis·缓存
-Xie-2 天前
Redis(九)——BigKey与MoreKey
数据库·redis·缓存
秋邱2 天前
自我进化!AI 驱动平台自动迭代,用户行为 + 数据反馈打造教育超级助手 2.0
网络·数据库·人工智能·redis·python·缓存·docker