From d1372b00130189f5dec074ccc1a056a068b3930b Mon Sep 17 00:00:00 2001 From: ccmywish Date: Tue, 15 Nov 2022 10:30:11 +0800 Subject: [PATCH] use main branch --- README.md | 4 ++-- install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 29ec47f..090d27d 100644 --- a/README.md +++ b/README.md @@ -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)" ` ## 使用 diff --git a/install.sh b/install.sh index ef42417..1bf7654 100644 --- a/install.sh +++ b/install.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 "=> 安装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 sudo mv ./nvm-update.sh /usr/local/bin/nvm-update