singiorew.blogg.se

Install azure cli on linux machine
Install azure cli on linux machine







  1. Install azure cli on linux machine how to#
  2. Install azure cli on linux machine install#

You can choose to use the interactive mode and complete the authentication on the browser or, ideally, define a service principal username and passwordĪz login -service-principal -u -p -tenant Using the Azure CLI 2.0įirst you need to log in to access your subscription. Once that completes successfully, make sure that you restart Bash for the changes to take effect. The last command is the one that downloads and installs the CLI.

Install azure cli on linux machine install#

Sudo apt-get update & sudo apt-get install -y libssl-dev libffi-dev python-dev

install azure cli on linux machine install azure cli on linux machine

In my case, I had to run the following commands in order: sudo apt-get update

Install azure cli on linux machine how to#

You can find how to install it on the OS of your choice ( " target="_blank). To install it, I had to update my WSL to the latest (not on Creators update yet) and make sure that my dependencies are all in place. There's nothing magical about it, other than the fact that it works great All the functionality implemented by the CLI is using the exact same public REST service. The Python SDK is generated from the Azure API and the Python CLI is built around the SDK. Unlike its predecessor, the Azure CLI 2.0 has been written in Python instead of Node.js. I decided to install it on my WSL because I can take advantage of my very limited Linux skills and showcase to customers the capabilities of W10 and Linux in one box. This is a true 2.0 in so may ways! Installing I ( GHOST_URL/install-and-run-the-azure-cli-on-the-windows-subsystem-for-linux-wsfl" target="_blank) a while ago on how to install the "old" CLI which was based on Node.js but this is a whole new beast so let's get started.

install azure cli on linux machine

The new Azure CLI 2.0 was released a few weeks ago so it was time for me to upgrade and take it for a spin. Posted in Azure, OSS, command line, Linux, Windows 10, cross-platform Exploring the Azure CLI 2.0 with Windows Subsystem for Linux 29 March 2017









Install azure cli on linux machine