Introduction
... link and explain why Zero Footprint Approach key advantages applicable to Azure CLI here...
... create vagrant script and link to which would create open-box vm and setup everything using a Linux OS... .probably need to modify .bash_profile to fix this all
Install Node.js
...
cd ~ mkdir apps cd apps tar -xvpf node-v6.10.0-darwin-x64.tar.gz
...
Install npm package for Azure
...
cd ~\apps\node-v6.10.0-darwin-x64\bin # Installs Azure CLI ./node npm install -g azure-cli ./node npm update -g azure-cli
As a results Azure packages will be put into the relative directory of npm,
~/apps/node-v6.10.0-darwin-x64/lib/node_modules
Add autocomplete (not got to get this working still)
./node azure --completion >> ~/azure.completion.sh echo 'source ~/azure.completion.sh' >> ~/.bash_profile
Execute Azure CLI Commands
...
./node azure --version 0.10.10 (node: 6.10.0)
...
Login Into Azure Account
...
...
Update Azure
...
References
Microsoft official instructions are quite good - https://docs.microsoft.com/en-us/azure/xplat-cli-install