ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
``` #最新下载地址 https://nodejs.org/en/download/ #部署nodejs和npm wget https://nodejs.org/dist/v12.14.1/node-v12.14.1-linux-x64.tar.xz tar xf node-v10.16.0-linux-x64.tar.xz cd node-v10.16.0-linux-x64 export PATH=$PATH:/root/node-v12.14.1-linux-x64/bin source /etc/profile node -v npm -v #部署yarn curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo #如果没有nodejs,这个方法网速很慢 # curl -sL https://rpm.nodesource.com/setup_13.x | bash - # yum -y install nodejs #安装yarn sudo yum install yarn #export PATH=$PATH:/usr/share/yarn/bin ```