install cordova globally code example
Example 1: build cordova app command
$ cordova build
$ cordoav build --release
Example 2: cordova plugin command
cordova {plugin | plugins} [
add <plugin-spec> [..] {--searchpath=<directory> | --noregistry | --link | --save | --force} |
{remove | rm} {<pluginid> | <name>} --save |
{list | ls} |
save |
]