From 36012450623a43c6b8ec72e3bb16aa95cca75f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20=C5=81oskot?= Date: Fri, 10 Mar 2023 18:42:58 +0100 Subject: [PATCH] docs: Add instruction how to install ytt using winget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ytt 0.45.0 has been packaged for winget, see related https://github.com/microsoft/winget-pkgs/pull/99091 Signed-off-by: Mateusz Łoskot --- site/content/ytt/docs/develop/install.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/site/content/ytt/docs/develop/install.md b/site/content/ytt/docs/develop/install.md index dd0323db2..60cf0ade6 100644 --- a/site/content/ytt/docs/develop/install.md +++ b/site/content/ytt/docs/develop/install.md @@ -36,6 +36,17 @@ $ brew install ytt $ ytt version ``` +## Via winget (Windows) + +Install binaries using the [Windows Package Manager](https://learn.microsoft.com/en-us/windows/package-manager/winget/) +client in PowerShell or Command Prompt (*Run as Administrator* is [recommended](https://learn.microsoft.com/en-us/windows/package-manager/winget/#administrator-considerations)): + +```console +winget install --id Carvel.ytt +``` + +The `winget` will add `ytt` command to the `PATH`. + ## Specific version from a GitHub release To download, click on one of the assets in a [chosen GitHub release](https://github.com/vmware-tanzu/carvel-ytt/releases), for example for 'ytt-darwin-amd64'.