You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by John Wargo <jo...@johnwargo.com> on 2013/12/24 20:26:26 UTC

CLI version to install

Here's a silly question for you - how do developers know what versions of the CLI are available to install?

I know I can install the latest CLI using:

npm install -g cordova

Right now our plugins haven't been tested with Cordova 3.3, so I'm trying to update my CLI to version 3.2, but you know the following won't work:

npm install -g cordova@3.2.0

because the numbering scheme has changed.

I know that for 3.1, the version was 3.1.0-0.2.0, but how would anybody know that?  I looked at the release blog and there's no reference to the long version the CLI. The npm registry doesn't list anything. I can't find anything in the docs. How do I determine what the available versions are for 3.2.0?

Re: CLI version to install

Posted by "John M. Wargo" <jw...@gmail.com>.
I didn't know that either, thanks. Learn something new every day.

Merry Christmas all and to all a good night.

On 12/24/2013 3:40 PM, Brian LeRoux wrote:
> Or
>
> `npm info cordova`
> On Dec 25, 2013 5:49 AM, "Dan Moore" <mo...@yahoo.com> wrote:
>
>> Hi John,
>>
>> I believe
>>
>> npm view cordova
>>
>> shows all the versions available in npm.
>>
>> Dan
>>
>>


Re: CLI version to install

Posted by Brian LeRoux <b...@brian.io>.
Or

`npm info cordova`
On Dec 25, 2013 5:49 AM, "Dan Moore" <mo...@yahoo.com> wrote:

> Hi John,
>
> I believe
>
> npm view cordova
>
> shows all the versions available in npm.
>
> Dan
>
>

Re: CLI version to install

Posted by "John M. Wargo" <jw...@gmail.com>.
I did not know that, thanks!

On 12/24/2013 2:41 PM, Dan Moore wrote:
> Hi John,
>
> I believe
>
> npm view cordova
>
> shows all the versions available in npm.
>
> Dan
>
>


Re: CLI version to install

Posted by Dan Moore <mo...@yahoo.com>.
Hi John,

I believe

npm view cordova

shows all the versions available in npm.

Dan