From 3e6158fc8cc19d9796d845f01216cc5921cf10d3 Mon Sep 17 00:00:00 2001 From: qinjian Date: Thu, 11 Sep 2025 09:18:05 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20nodejs=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E6=8C=87=E5=8D=97=EF=BC=8C=E4=BF=AE=E6=94=B9=20nvm=20?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E8=84=9A=E6=9C=AC=E7=9A=84=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=92=8C=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e8ed102..405a0d8 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,9 @@ ```shell sudo su - # 安装 nvm -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash +export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node +export NVM_INSTALL_GITHUB_REPO="https://ghproxy.com/https://github.com/nvm-sh/nvm" +curl -o- https://ghproxy.com/https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash source ~/.bashrc nvm install 20 nvm use 20