Azure-cli: Provide `.pkg` installer for macOS

Created on 27 Feb 2019  路  3Comments  路  Source: Azure/azure-cli

Today, we require that macOS users install the Azure CLI using brew or taking their chances and installing via the catch-all bash script.

Forcing folks to use brew feels pretty intrusive. Worse yet, if they only use brew for the azure-cli and have Python previously installed, the brew installed python must override the other version or the azure-cli will fail to load some commands.

In regards to the catch-all script, I think it should be reserved for platforms that are less-mainstream than macOS developers.

We've had some asks for this in the past (#7361), but after diagnosing a few failed installs where the root was folks getting bitten by having a mixed brew/system python environment, it's worth another look.

Packaging feature-request

Most helpful comment

This would be especially helpful for environments where the local user does not have full local admin rights and clients require software to be installed via management tooling.

All 3 comments

This would be especially helpful for environments where the local user does not have full local admin rights and clients require software to be installed via management tooling.

@fengzhou-msft please take a look

My company is standardized on MacPorts for years. We evaluated Homebrew but it is not for us. We considered Joyent's pkgsrc but it wasn't really better than MacPorts for us. Not everyone uses Homebrew and brew certainly is not the official package manager for macOS.

It feels pretty hostile for you to not support MacPorts #7361 and also not have a .pkg.

FWIW, MacPorts has a py-awscli package which we do use.

Was this page helpful?
0 / 5 - 0 ratings