# Скачивает mise в .\.mise\bin (без установки в систему) и ставит инструменты проекта. $ErrorActionPreference = 'Stop' $version = '2026.10.19' $root = $PSScriptRoot $zip = Join-Path $env:TEMP 'mise-bootstrap.zip' $tmp = Join-Path $env:TEMP 'mise-bootstrap' Invoke-WebRequest "https://github.com/jdx/mise/releases/download/v$version/mise-v$version-windows-x64.zip" -OutFile $zip Remove-Item -Recurse -Force $tmp -ErrorAction SilentlyContinue Expand-Archive -Path $zip -DestinationPath $tmp $bin = Join-Path $root '.mise\bin' New-Item -ItemType Directory -Force -Path $bin | Out-Null Move-Item -Force (Join-Path $tmp 'mise\bin\mise.exe') (Join-Path $bin 'mise.exe') & (Join-Path $bin 'mise.exe') trust & (Join-Path $bin 'mise.exe') install & (Join-Path $bin 'mise.exe') run web-install Write-Host 'готово: .\mise.ps1 run verify'