mirror of
https://gitee.com/RubyMetric/nvm-cn.git
synced 2025-12-25 20:02:45 +00:00
use main branch
This commit is contained in:
parent
37a6d88517
commit
d1372b0013
|
|
@ -8,10 +8,10 @@
|
||||||
|
|
||||||
## 安装
|
## 安装
|
||||||
|
|
||||||
` bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/master/install.sh)" `
|
` bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/main/install.sh)" `
|
||||||
|
|
||||||
## 卸载
|
## 卸载
|
||||||
` bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/master/uninstall.sh)" `
|
` bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/main/uninstall.sh)" `
|
||||||
|
|
||||||
|
|
||||||
## 使用
|
## 使用
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ echo "export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node" >> ~/.bas
|
||||||
echo "export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node" >> ~/.zshrc
|
echo "export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node" >> ~/.zshrc
|
||||||
|
|
||||||
echo "=> 安装nvm-update,升级更新请使用该命令"
|
echo "=> 安装nvm-update,升级更新请使用该命令"
|
||||||
curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/master/nvm-update.sh -o nvm-update.sh
|
curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/main/nvm-update.sh -o nvm-update.sh
|
||||||
chmod +x ./nvm-update.sh
|
chmod +x ./nvm-update.sh
|
||||||
sudo mv ./nvm-update.sh /usr/local/bin/nvm-update
|
sudo mv ./nvm-update.sh /usr/local/bin/nvm-update
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue