БЛОК 1 — PowerShell node --version npm.cmd --version БЛОК 2 — PowerShell $lab = Join-Path $HOME 'QwenCodeLab-20261028' if (Test-Path -LiteralPath $lab) { throw 'Folder already exists. Stop and choose a new name.' } New-Item -ItemType Directory -Path $lab -ErrorAction Stop | Out-Null New-Item -ItemType Directory -Path (Join-Path $lab 'cli') -ErrorAction Stop | Out-Null Set-Location -LiteralPath $lab БЛОК 3 — PowerShell npm.cmd install --prefix "$lab\cli" --no-audit --no-fund --save-exact --registry https://registry.npmjs.org @qwen-code/qwen-code@0.26.2 if ($LASTEXITCODE -ne 0) { throw 'Installation failed. Do not continue.' } БЛОК 4 — PowerShell npm.cmd list --prefix "$lab\cli" --depth=0 if ($LASTEXITCODE -ne 0) { throw 'Package check failed.' } & "$lab\cli\node_modules\.bin\qwen.cmd" --version if ($LASTEXITCODE -ne 0) { throw 'Version check failed.' } БЛОК 5 — PowerShell & "$lab\cli\node_modules\.bin\qwen.cmd" --help if ($LASTEXITCODE -ne 0) { throw 'Help check failed.' }