1 ファイル変更 +14 -0

この更新の概要

Windows環境でのインストール時に発生するファイルアクセスエラーの解決策が追加されました。エラーの主な原因としてインストールプロセスの重複やウイルス対策ソフトのスキャンが挙げられています。ダウンロードフォルダを強制削除して再試行するためのPowerShellコマンドが新たに提供されました。fishやNushellを使用しているユーザー向けにパス通しの設定案内も拡充されています。

troubleshoot-install +14 -0

Windowsでのインストール失敗時に対処するための具体的なPowerShellコマンドと、fishやNushellでのパス設定に関する記述が追加されました。

@@ -25,6 +25,7 @@ Match the error message or symptom you're seeing to a fix:
| `'bash' is not recognized as the name of a cmdlet` | [Use the Windows installer command](#wrong-install-command-on-windows) |
| `Claude Code on Windows requires either Git for Windows (for bash) or PowerShell` | [Install a shell](#claude-code-on-windows-requires-either-git-for-windows-for-bash-or-powershell) |
| `Claude Code does not support 32-bit Windows` | [Open Windows PowerShell, not the x86 entry](#claude-code-does-not-support-32-bit-windows) |
| `The process cannot access the file ... because it is being used by another process` | [Clear the downloads folder and retry](#the-process-cannot-access-the-file-during-windows-install) |
| `Error loading shared library` | [Wrong binary variant for your system](#linux-musl-or-glibc-binary-mismatch) |
| `Illegal instruction` | [Architecture or CPU instruction set mismatch](#illegal-instruction) |
| `cannot execute binary file: Exec format error` in WSL | [WSL1 native-binary regression](#exec-format-error-on-wsl1) |
@@ -102,6 +103,8 @@ source ~/.bashrc
Alternatively, close and reopen your terminal.
For other shells such as fish or Nushell, add `~/.local/bin` to your PATH using your shell's own configuration syntax, then restart your terminal.
Verify the fix worked:
```bash theme={null}
@@ -432,6 +435,17 @@ If you see `'irm' is not recognized`, `The token '&&' is not valid`, or `'bash'
irm https://claude.ai/install.ps1 | iex
```
### `The process cannot access the file` during Windows install
If the PowerShell installer fails with `Failed to download binary: The process cannot access the file ... because it is being used by another process`, the installer couldn't write to `%USERPROFILE%\.claude\downloads`. This usually means a previous install attempt is still running, or antivirus software is scanning a partially downloaded binary in that folder.
Close any other PowerShell windows running the installer and wait for antivirus scans to release the file. Then delete the downloads folder and run the installer again:
```powershell
Remove-Item -Recurse -Force "$env:USERPROFILE\.claude\downloads"
irm https://claude.ai/install.ps1 | iex
```
### Install killed on low-memory Linux servers
If you see `Killed` during installation on a VPS or cloud instance: