Linux: Upgrade Azure CLI installed in Python virtual environment
Check your azure-cli version before upgrade, with:
source /home/mihamina/Apps/azure-cli/bin/activate /home/mihamina/Apps/azure-cli/bin/az --version
In a previous post I wrote about
installing Azure CLI on Linux in a custom Python install.
Now I want to upgrade it.
Based on what I wrote, this is how to do that:
/home/mihamina/Apps/azure-cli/bin/python -m pip install --upgrade pip /home/mihamina/Apps/azure-cli/bin/python -m pip install --upgrade azure-cli
Check your azure-cli version after upgrade, with:
/home/mihamina/Apps/azure-cli/bin/az --version