【2026年7月】claude code 的 install.sh 报错 syntax error 替换为新地址
·
- 根据官方文档(地址
https://code.claude.com/docs/en/setup)curl -fsSL https://claude.ai/install.sh | bash一长串报错
bash: line 1: syntax error near unexpected token `<'
bash: line 1: `<!DOCTYPE html><!-- Last Published:
- 将地址
https://claude.ai/install.sh放在浏览器中跳转到了新界面https://downloads.claude.ai/claude-code-releases/bootstrap.sh

- 替换为新地址就行了
curl -fsSL https://downloads.claude.ai/claude-code-releases/bootstrap.sh | bash
更多推荐


所有评论(0)