常用命令汇总

2026 年 11 月 13 日更新于 2026 年 11 月 15 日

85 字

1 分钟

笔记

图片
每日一图

codex

  1. 设置npm镜像源
npm config set registry https://registry.npmmirror.com
  1. 重启codex server daemon
codex app-server daemon restart

也可以通过/daemon 查看状态和重启

强制重启使用新版本daemon

codex app-server daemon update --from-cli

huggingface

  1. 换源
Terminal window
export HF_ENDPOINT=https://hf-mirror.com
  1. 缓存管理
Terminal window
# 查看缓存占用情况
hf cache scan
# 管理特定目录下的hf缓存
hf cache delete --dir <path-to-cache>
常用命令汇总
https://blogs.twtytwo.site/blog/note-34/
作者
Hofann
发布时间
2026 年 11 月 13 日
许可协议
CC BY-NC-SA 4.0

输入关键词开始搜索