How to use the Ionic CLI with multiple versions of cordova on the same machine


#1

Hi there,
I’ve installed the cordova CLI in this way: http://www.mooreds.com/wordpress/archives/1379
So Cordova is installed in the current directory instead of globally.
The problem is in this way I can’t create a project using the ionic CLI.

ionic start myproject
Creating Ionic app in folder /home/mosta/workspace/test/myproject based on tabs project

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================] 100% 0.0s

Downloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip
[=============================] 100% 0.0s

Update config.xml
Initializing cordova project
/bin/sh: 1: cordova: not found

Any Idea?