The Alloy command-line interface and plugin should be automatically installed by the studio updater. See Titanium Studio Quick Start for instructions. If there were installation problems or if you wish to install the Alloy CLI independent of the Studio installation, refer to the manual installation instructions below.
The following steps install the latest released version of Alloy.
Titanium SDK 3.0.x or later, and the Titanium CLI need to be installed and configured before installing the Alloy CLI. See Setting up the Titanium CLI for instructions.
By default, these installation directions will install the latest Alloy release. To install a specific released version, use the same directions, except after 'alloy', add the at symbol ('@') with the version number. For instance, executing
sudo npm install -g email@example.com will install version 1.0.0.
Bleeding Edge Installation
To install the latest development version of Alloy, after installing Node.js, clone the Alloy GitHub repository and perform an
npm install from the Alloy project's root directory:
git clone https://github.com/appcelerator/alloy.git cd alloy [sudo] npm install -g .
Create a Project