azure-dev
azure-dev copied to clipboard
Linux/MacOS binary placement
We currently default to /usr/local/bin to install the binary on MacOS and Linux machines. We should consider alternative locations (e.g. user's home directory, a system-wide location available in PATH provided programmatically by the OS)
Original Comment:
Nothing blocking but longer term I wonder if this should be in some part of the user's HomeDir, as to not require sudo. If we do that we probably want to read https://wiki.archlinux.org/title/XDG_Base_Directory and see what location we should default to (I would guess XDG_DATA_HOME).
Originally posted by @ellismg in https://github.com/Azure/azure-dev/pull/138#discussion_r932790376
Big thumbs up. We should also consider delivering azd via usermode package manager like homebrew, as it both aids discovery and providers the infrastructure for no-sudo utility acquisition.
Should this be in the current milestone re. package manager support?