官方地址https://github.com/nvm-sh/nvm/blob/master/README.md#installing-and-updating
**
安装、终端运行命令
**
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
注意版本,一定要去官方文档安装最新版本
开始排错
- 报错(报错bash: line 1: 404:: command not found)
打开配置文件
把这段加上,这是官网的内容,一定要去官网查看文档