Steps:

Download Command line tools for Xcode <Mac Version> from https://developer.apple.com/download/more/

Alternatively run the following from Terminal:

xcode-select --install

Install Brew

/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

brew update

brew install openssl

mkdir -p /usr/local/lib

ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/

ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/

Install wget

brew install wget

Install .Net

wget https://download.microsoft.com/download/B/9/F/B9F1AF57-C14A-4670-9973-CDF47209B5BF/dotnet-dev-osx-x64.1.0.4.pkg

sudo installer -pkg dotnet-dev-osx-x64.1.0.4.pkg -target /

Install Powershell Core

wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.4/powershell-6.0.0-beta.4-osx.10.12-x64.pkg

sudo installer -pkg powershell-6.0.0-beta.4-osx.10.12-x64.pkg -target /

Install Azure RM NetCore

sudo powershell -Command {Install-Module -Name AZ}

sudo powershell -Command {Import-Module -Name AZ}

Install Azure CLI 2.0

curl -L https://aka.ms/InstallAzureCli | bash

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Azure CLI Overview:

https://docs.microsoft.com/en-us/cli/azure/?view=azure-cli-latest

Leave a Reply

Your email address will not be published. Required fields are marked *