Last active
April 4, 2022 19:31
-
-
Save dburriss/b4075863873b5871d34e32ab1ae42baa to your computer and use it in GitHub Desktop.
A Powershell script to install Paket dependency manager in current folder (sub-folder .paket)
This file contains hidden or 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
New-Item -ItemType directory -Path ".paket" | |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 | |
$tag = (Invoke-WebRequest -Uri https://api.github.com/repos/fsprojects/Paket/releases | ConvertFrom-Json)[0].tag_name | |
$uri = " https://github.com/fsprojects/Paket/releases/download/" + $tag + "/paket.bootstrapper.exe" | |
Invoke-WebRequest $uri -OutFile .paket/paket.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could install via the dotnet tool