Is your feature request related to a problem? Please describe.
As the title states, there is not currently a way (or I have not been able to find one) to install the Azure CLI without having admin privileges to the machine. This is fine for personal machines, but employer owned machines are typically highly locked down.
Describe the solution you'd like
A sane way to install the cli without admin privileges.
@scrofungulus Thank you for your request.
A work around is to pip install the CLI if you have python already installed: pip install azure-cli
It is recommend you do this through a virtual environment (so it doesn't apply system wide) although not required: https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
Was hoping this would unblock me but I ran into an issue with the pip install:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for cryptography
And ofc you need Admin Privileges to install "Microsoft C++ Build Tools"
edit: suggest adding an option to the MSI / installation wizard to install for only the current user, similar to the python installer.
Is there any standalone executable that can be used instead of the admin install? We are not able to use the CLI in our organization. We have Windows but Python is not installed.
Most helpful comment
Was hoping this would unblock me but I ran into an issue with the pip install:
And ofc you need Admin Privileges to install "Microsoft C++ Build Tools"
edit: suggest adding an option to the MSI / installation wizard to install for only the current user, similar to the python installer.