Irfan
Irfan

Reputation: 58

$ cordova create hello com.example.hello HelloWorld

I have installed NPM. I install it to C:\Users\Irfan\AppData\Roaming\npm Now, how to create my app

$ cordova create hello com.example.hello HelloWorld

When I run the command on command prompt there is error about $ as it isn't defined.

Upvotes: 0

Views: 1665

Answers (1)

Roope Hakulinen
Roope Hakulinen

Reputation: 7405

You shouldn't be including the $ on the command you run. It is there only to say that the rest of line is executed on command line. so try to run

cordova create hello com.example.hello HelloWorld

on command prompt.

Also, first you need to actually install Cordova with

npm install -g cordova

Upvotes: 2

Related Questions