...
Code Block | ||
---|---|---|
| ||
cd ~ mkdir apps cd apps tar -xvpf node-v6.10.0-darwin-x64.tar.gz |
...
Install npm package for Azure
...
Code Block | ||
---|---|---|
| ||
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,
Code Block | ||
---|---|---|
| ||
~/apps/node-v6.10.0-darwin-x64/lib/node_modules |
Add autocomplete (not got to get this working still)
Code Block | ||
---|---|---|
| ||
./node azure --completion >> ~/azure.completion.sh
echo 'source ~/azure.completion.sh' >> ~/.bash_profile |
Execute Azure CLI Commands
...
Code Block | ||
---|---|---|
| ||
./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