From 52e4cc48aa508d916094eb43539cddc67fc5c7d7 Mon Sep 17 00:00:00 2001 From: James Blair Date: Wed, 8 Sep 2021 14:35:40 +1200 Subject: [PATCH] Added azure cli install to wsl-setup.org. --- wsl-setup.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/wsl-setup.org b/wsl-setup.org index 64a501d..9f59c1d 100644 --- a/wsl-setup.org +++ b/wsl-setup.org @@ -117,6 +117,22 @@ sudo chown -R $USER:$USER /usr/local/google-cloud-sdk #+END_SRC +For working with [[https://azure.microsoft.com/en-us/][Microsoft Azure]] we need the [[https://docs.microsoft.com/en-us/cli/azure/][Azure CLI]]. + +#+NAME: Install azure cli +#+begin_src shell +# Modify your sources list so that the Microsoft repository is registered +AZ_REPO=$(lsb_release -cs) +echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | \ +sudo tee /etc/apt/sources.list.d/azure-cli.list + +# Import the encryption key for the Microsoft Ubuntu repository. +curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - + +# Install the Azure CLI. +sudo apt-get update && sudo apt-get install azure-cli +#+end_src + For working with [[https://aws.com][Amazon Web Services]] we need the [[https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html][AWS CLI]]. @@ -231,6 +247,7 @@ git clone --recursive https://github.com/humacs/humacs /home/$USER/ export EMACSLOADPATH=/home/$USER/humacs #+END_SRC + ** Step 5 - Setup mutt email client For reading email we ideally use a cli based client for fast searching and lightweight mail reading.