O'Reilly logo

AngularJS Deployment Essentials by Zachariah Moreno

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring your development environment for the Cordova Chrome App toolchain

To begin, you will need to install CCA, a command-line utility that will behave very much like the previously used $ cordova CLI. To do so, run the following commands in your terminal or command-line application:

$ curl -L https://raw.githubusercontent.com/creationix/nvm/master/install.sh | sh
$ source ~/.bash_profile || source ~/.profile || source ~/.bashrc
$ nvm install 0.10
$ nvm alias default 0.10
$ sudo npm install -g cca

This will install the Node Version Manager (NVM) that allows you to use various versions of Node.js on your development environment along with $ cca.

Note

Because the Cordova Chrome App toolchain extends Cordova, all of the dependencies you installed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required