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 for the previous section are also needed for CCA. If you have skipped the Configuring your development environment for Apache Cordova section, please go back and follow the instructions given there.