From 16fb5a788baaf325440ab44f7ac8bc2db2a38ecd Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:23:45 +0800 Subject: [PATCH] Update Nimble.sh --- Nimble.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Nimble.sh b/Nimble.sh index ac7cd48..5e0cce9 100644 --- a/Nimble.sh +++ b/Nimble.sh @@ -11,13 +11,13 @@ fi function install_node() { # 更新系统包列表 -sudo apt update +apt update # 检查 Git 等是否已安装 -sudo apt install git python3-venv bison screen binutils gcc make bsdmainutils -y +apt install git python3-venv bison screen binutils gcc make bsdmainutils -y # 安装GO -sudo rm -rf /usr/local/go +rm -rf /usr/local/go curl -L https://go.dev/dl/go1.21.6.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile source .bash_profile