-
-
Save karol-pawlowski/62b907603810351dee9cc495cc8a9b92 to your computer and use it in GitHub Desktop.
Installing latest Yarn with PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Host "Installing Yarn..." -ForegroundColor Cyan | |
Write-Host "Downloading..." | |
$msiPath = "$env:TEMP\yarn.msi" | |
(New-Object Net.WebClient).DownloadFile('https://yarnpkg.com/latest.msi', $msiPath) | |
Write-Host "Installing..." | |
cmd /c start /wait msiexec /i "$msiPath" /quiet | |
Write-Host "Yarn installed" -ForegroundColor Green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment