Open alex-frankel opened 3 years ago
Btw, it's perfectly ok to for us only check in common install locations and miss some custom locations.
👍🏻 to this, perhaps CLI could check if the bicep is installed on the path and determine the version using? if it's there - use it.
For checking if user has the latest version - if the check fails, cli could suggest upgrading by pointing user to aka.ms link with install instructions.
If there is no bicep on the path - just install in the .azure/bin folder.
Based off of discussion for resolving https://github.com/Azure/bicep/issues/5057#issuecomment-957899059
It would be great if we can try to look for a second install of bicep as that more than likely will only cause problems if you call the wrong/older version by accident