diff --git a/README.md b/README.md index 39532be6..dbc1423c 100644 --- a/README.md +++ b/README.md @@ -90,16 +90,25 @@ wget https://github.com/Azure/azqr/releases/download/$latest_azqr/azqr-ubuntu-la chmod +x azqr ``` -### Install on Mac - -Download the latest release from [here](https://github.com/Azure/azqr/releases). - ### Install on Windows +Use `winget`: + ```console winget install azqr ``` +or download the executable file: + +``` +$latest_azqr=$(iwr https://api.github.com/repos/Azure/azqr/releases/latest).content | convertfrom-json | Select-Object -ExpandProperty tag_name +iwr https://github.com/Azure/azqr/releases/download/$latest_azqr/azqr-windows-latest-amd64.exe -OutFile azqr.exe +``` + +### Install on Mac + +Download the latest release from [here](https://github.com/Azure/azqr/releases). + ### Authentication **Azure Quick Review (azqr)** supports the following authentication methods: diff --git a/docs/content/en/docs/Install/_index.md b/docs/content/en/docs/Install/_index.md index eccd2bc2..e3e3bffd 100644 --- a/docs/content/en/docs/Install/_index.md +++ b/docs/content/en/docs/Install/_index.md @@ -14,10 +14,20 @@ chmod +x azqr ## Install on Windows +Use `winget`: + ```console winget install azqr ``` +or download the executable file: + +``` +$latest_azqr=$(iwr https://api.github.com/repos/Azure/azqr/releases/latest).content | convertfrom-json | Select-Object -ExpandProperty tag_name +iwr https://github.com/Azure/azqr/releases/download/$latest_azqr/azqr-windows-latest-amd64.exe -OutFile azqr.exe +``` + + ## Install on Mac Download the latest release from [here](https://github.com/Azure/azqr/releases). \ No newline at end of file