There are few ways to install the X-Plat CLI; using installer packages for Windows and OS X or combination of Node.js and NPM for Linux.
Node.js and npm via nave
Nave is a tool for handling node.js installations. Nave is to node.js just like RVM is to Ruby. It pulls directly from nodejs.org
Follow below instructions:
Note: # = explanation; $ command = execute on Linux VM
$ sudo su –
#install node.js through nave $ wget https://raw.github.com/isaacs/nave/master/nave.sh
#install npm $ curl -s https://npmjs.org/install.sh > npm-install-$$.sh
|
Windows Azure X-Plat CLI
use npm command to install Azure X-Plat CLI
#install X-Plat CLI
$ npm install azure-cli -g |
Using Windows Azure X-Plat CLI
Type $azure to test and show sub-commands
Windows Azure Publish Settings File
Windows Azure Publish Settings File needs to be downloaded and imported in order to create resources on related subscription.
$azure account download
$azure account import “path to the publishing file”
Note: You need a browser to download the publish settings file or You can download the file from local machine and upload it to Azure Linux VM
Example Azure Account Import: $ azure account import My.publishsettings |