开发机安装 codebuddy

cd /tmp
curl -LO https://unofficial-builds.nodejs.org/download/release/v22.9.0/node-v22.9.0-linux-x64-glibc-217.tar.gz
rm -rf /opt/node
mkdir -p /opt/node
tar -xzvf node-v22.9.0-linux-x64-glibc-217.tar.gz -C /opt/node --strip-components=1
echo 'export PATH=/opt/node/bin:$PATH' | tee /etc/profile.d/node.sh
source /etc/profile.d/node.sh
node -v
npm install -g --registry=https://mirrors.tencent.com/npm @tencent-ai/codebuddy-code