按照此官网命令行安装https://nodejs.org/en/download# Download and install nvm: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash # in lieu of restarting the shell \. $HOME/.nvm/nvm.sh # Download and install Node.js: nvm install 24 # Verify the Node.js version: node -v # Should print v24.14.0. # Verify npm version: npm -v # Should print 11.9.0.在进行第一步时发现下载速度为0。开启梯子之后下载完成。然后卡在这一步最后关掉梯子安装完成。