- Download and install Node.js from http://nodejs.org/#download, which includes the npm package manager needed to install the Appcelerator CLI.
From a terminal, run the following command to install the CLI:
[sudo] npm install appcelerator -g
After installation, run the setup command to install required components:
After the CLI downloads and installs the required components, you will be prompted to login and authorize your computer. The CLI will ask to send an authorization token to your e-mail account or as a text to your mobile phone. Enter the authorization token once you receive it to complete the registration process.
Create a project
To create a new Alloy project, start Appcelerator Studio, then