diff --git a/src/cli/install.ps1 b/src/cli/install.ps1 index 39c49ac348..489209bea8 100644 --- a/src/cli/install.ps1 +++ b/src/cli/install.ps1 @@ -295,7 +295,7 @@ function Install-Bun { if (-not $NoPathUpdate) { $Path += $BunBin Write-Env -Key 'Path' -Value ($Path -join ';') - $env:PATH = $Path; + $env:PATH = $Path -join ';' } else { Write-Output "Skipping adding '${BunBin}' to the user's %PATH%`n" }