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
阅读剩余
版权声明:
作者:anutool
链接:https://www.anutool.com/index.php/2026/04/06/claude-code-ollama-%e6%9c%ac%e5%9c%b0%e9%83%a8%e7%bd%b2%e6%95%99%e7%a8%8b-%e5%91%bd%e4%bb%a4win11-powershell/
文章版权归作者所有,未经允许请勿转载。
THE END