只需要将执行命令
curl -fsSL https://fnm.vercel.app/install | bash
更改为以下命令即可:
curl -fsSL https://fnm.wujingquan.com/install | bash
fnm.wujingquan.com只做两件事:
一:境内CDN托管 install 文件
二:修改了 insall 内容,添加了github加速代理。
URL="https://github.com/Schniz/fnm/releases/latest/download/$FILENAME.zip"
URL="https://github.com/Schniz/fnm/releases/download/$RELEASE/$FILENAME.zip"
修改成了:
URL="https://ghproxy.com/https://github.com/Schniz/fnm/releases/latest/download/$FILENAME.zip"
URL="https://ghproxy.com/https://github.com/Schniz/fnm/releases/download/$RELEASE/$FILENAME.zip"