Claude Code + Ollama 本地部署教程 命令win11 powershell

安装 WSL

wsl --install

wsl --install -d Ubuntu

sudo apt update

sudo apt upgrade -y

sudo apt install python3-pip python3-venv -y

sudo apt install -y zstd

安装nodejs

curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -

sudo apt install -y nodejs

安装 Git

sudo apt update
sudo apt install -y git

node -v
npm -v
git --version

安装ollama

curl -fsSL https://ollama.com/install.sh | sh

ollama pull qwen3-coder:30b
curl -fsSL https://claude.ai/install.sh | bash

ollama launch claude --config

阅读剩余
THE END