交流群:
企微 https://qr61.cn/oohivs/qRp62U6
Discord https://discord.gg/3JWMgKQznF
apt update
apt install curl -y
【视频教程】 【watt toolkit使用】
git --version
if [ -z "$(node -v)" ]; then
echo "node is not installed"
# 安装node 20
curl -sL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
fi
npm config set registry https://mirrors.cloud.tencent.com/npm/
if [ -z "$(pnpm -v)" ]; then
echo "pnpm is not installed"
# 安装pnpm
npm install -g pnpm
fi
pnpm config set registry https://mirrors.cloud.tencent.com/npm/
git clone https://github.com/coleam00/bolt.new-any-llm.git
cd bolt.new-any-llm
pnpm install
mv .env.example .env.local
在.env.local文件中填入API KEY
https://ollama.com/ 默认端口为11434,API地址为http://localhost:11434
pnpm run dev
【视频教程】