Install on Linux or Azure Cloud Shell
latest_azqr=$(curl -sL https://api.github.com/repos/Azure/azqr/releases/latest | jq -r ".tag_name" | cut -c1-)
wget https://github.com/Azure/azqr/releases/download/$latest_azqr/azqr-linux-amd64.zip -O azqr.zip
unzip -uj -qq azqr.zip
rm azqr.zip
chmod +x azqr
For ARM64 architecture, use
azqr-linux-arm64.zip
instead ofazqr-linux-amd64.zip
.
Install on Windows
Use winget
:
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-win-amd64.zip -OutFile azqr.zip
Expand-Archive -Path azqr.zip -DestinationPath ./azqr_bin
Get-ChildItem -Path ./azqr_bin -Recurse -File | ForEach-Object { Move-Item -Path $_.FullName -Destination . -Force }
Remove-Item -Path ./azqr_bin -Recurse -Force
Remove-Item -Path azqr.zip
For ARM64 architecture, use
azqr-win-arm64.zip
instead ofazqr-win-amd64.zip
.
Install on Mac
Use homebrew
:
brew install azqr
or download the latest release from here.