Update README

This commit is contained in:
Aoran Zeng 2024-09-22 10:53:41 +08:00
parent 08bffedf3d
commit e4cdb39678
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -24,17 +24,21 @@
## 安装
`bash -c "$(curl -fsSL https://gitee.com/RubyMetric/nvm-cn/raw/main/install.sh)"`
<br>
安装完成后执行指令:<br>
`source ~/.nvm/nvm.sh`
<br>
此时可以查到版本信息则表示安装成功:<br>
`nvm -v`
```bash
# 执行
bash -c "$(curl -fsSL https://gitee.com/RubyMetric/nvm-cn/raw/main/install.sh)"`
# 安装完成后执行
source ~/.nvm/nvm.sh
# 此时可以查到版本信息则表示安装成功
nvm -v
```
## 卸载
`bash -c "$(curl -fsSL https://gitee.com/RubyMetric/nvm-cn/raw/main/uninstall.sh)"`
```bash
bash -c "$(curl -fsSL https://gitee.com/RubyMetric/nvm-cn/raw/main/uninstall.sh)"
```
## 使用