Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

... 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

...

Code Block
languagebash
cd ~
mkdir apps
cd apps
tar -xvpf node-v6.10.0-darwin-x64.tar.gz

...

Install npm package for Azure

...

Code Block
languagebash
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
languagebash
~/apps/node-v6.10.0-darwin-x64/lib/node_modules

Add autocomplete (not got to get this working still)

Code Block
languagebash
./node azure --completion >> ~/azure.completion.sh
echo 'source ~/azure.completion.sh' >> ~/.bash_profile

Execute Azure CLI Commands

...

Code Block
languagebash
./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