1. # 安装nvm
    2. wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
    3. # 修改npm registry
    4. npm config set registry https://registry.npm.taobao.org

    :::info nvm 在中国国内使用 :::

    1. # 安装
    2. bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/master/install.sh)"
    3. # 卸载
    4. bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/master/uninstall.sh)"