cd ~/ curl -o PowerShell-ALPHA-15.pkg https://github-cloud.s3.amazonaws.com/releases/49609581/c2031594-e2e3-11e6-947c-6b2c83311731.pkg\?X-Amz-Algorithm\=AWS4-HMAC-SHA256\&X-Amz-Credential\=AKIAISTNZFOVBIJMK3TQ%2F20170202%2Fus-east-1%2Fs3%2Faws4_request\&X-Amz-Date\=20170202T145103Z\&X-Amz-Expires\=300\&X-Amz-Signature\=3bebeba286469a19334df9c6f5a50fa6e7eb41352d8a54fc2f7d0d542e03aba6\&X-Amz-SignedHeaders\=host\&actor_id\=0\&response-content-disposition\=attachment%3B%20filename%3Dpowershell-6.0.0-alpha.15.pkg\&response-content-type\=application%2Foctet-stream sudo installer -pkg ~/PowerShell-ALPHA-15.pkg -target / rm ~/PowerShell-ALPHA-15.pkg curl -o dotnet-dev-osx-x64.1.0.0-ALPHA.pkg https://download.microsoft.com/download/1/0/C/10C868F3-EF61-47A7-95CF-FF2AE042D65F/dotnet-dev-osx-x64.1.0.0-preview2-003148.pkg sudo installer -pkg ~/dotnet-dev-osx-x64.1.0.0-ALPHA.pkg -target / rm ~/dotnet-dev-osx-x64.1.0.0-ALPHA.pk brew update brew install openssl --force 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-Package -Name AzureRM.NetCore.Preview -Source https://www.powershellgallery.com/api/v2 -ProviderName NuGet -ExcludeVersion -Destination /usr/local/microsoft/powershell/6.0.0-alpha.11/Modules
Resource: https://blog.azureandbeyond.com/2016/11/11/powershell-azure-and-macos-absolutely/