Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I install older versions of the cli? #1954

Closed
zumiek opened this issue Apr 28, 2020 · 3 comments
Closed

How do I install older versions of the cli? #1954

zumiek opened this issue Apr 28, 2020 · 3 comments

Comments

@zumiek
Copy link

zumiek commented Apr 28, 2020

Working on a project where previous developer used an older version of the cli, but now when I try to run the scripts he created it's not working.
I fully understand the ramifications of running an older cli, but the costs incurred for customer for me to fix all the issues is not acceptable, and I can't really find where the older versions of the installers are?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@MonikaReddy-MSFT
Copy link
Contributor

@zumiek , Thanks for brining this to our attention. We will investigate it further and update you shortly.

@MonikaReddy-MSFT
Copy link
Contributor

Hello @zumiek ,
Thanks for reaching out to us and for being patient.
Can you please provide the specific version that you are looking for? So, we can try to find the old MSI and share it with you.

I have opened up a new issue in PG CLI Repo, so they can track your issue and get it taken care of.

At this moment, I will go ahead and close this request but I will work with you until your issue is resolved, Meanwhile please provide me the above details, so I can circulate it back to Product team.
.

@MonikaReddy-MSFT
Copy link
Contributor

@zumiek , PG has responded with the following :

Package Install Specific Version Command
RPM yum --showduplicates list azure-cli; sudo yum install azure-cli-2.2.0-1.el7
DEB apt-cache policy azure-cli; sudo apt-get install azure-cli=2.2.0-1~bionic
MSI Invoke-WebRequest -Uri https://azurecliprod.blob.core.windows.net/msi/azure-cli-2.2.0.msi -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi
HOMEBREW brew install -s https://raw.githubusercontent.com/azclibot/homebrew-core/azcli2.2.0/Formula/azure-cli.rb
PIP pip install azure-cli=2.2.0
DOCKER docker pull mcr.microsoft.com/azure-cli:2.2.0

I hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants