npm离线安装包

先在联网机器安装node

设置好缓存目录

设置国内镜像npm config set registry https://registry.npmmirror.com
命令npm config set cache "C:\Users\ch.npm"

直接下载好项目

命令npm install -g openclaw@latest --prefer-offline

posted @ 2026-03-01 22:58  竹石2020  阅读(0)  评论(0)    收藏  举报