nvm install 18.16.1

替换nvm仓库

echo 'export NVM_NODEJS_ORG_MIRROR=https://mirrors.cloud.tencent.com/npm/' >> ~/.bashrc