行思渐远 (@6868888) 在 claude code 2.1.15谨慎升级,官方对客户端检测有调整 中发帖
升级后,会有错误信息
API Error: 403 Your client is not authorized to use this API key . Pleaserun /login
[0ab23cbf2cd7a241c5502ae8451289a4]
临时解决:
# macOS / Linux / WSL:
curl -fsSL https://claude.ai/install.sh | bash -s 1.0.58
# Windows PowerShell:
& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) 1.0.58
# Windows CMD:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd...