useful CLI commands in cordova

  • cordova platform add android : to add an android platform in your project
  • cordova platform rm android : to remove an android platform in your project
  • cordova platforms ls : to display all available platforms in your project
  • cordova build android : to build your android application
  • cordova plugin search “a” “b” : to search the name of cordova plugins, which matchs “a” and “b” as case-insensitive substrings
  • cordova plugin add [plugin-name] : to add an cordova plugin with the given name to all added platforms in your project (alternative to use “Plugman”)
  • cordova plugin add [plugin-name]@latest : to add an cordova plugin with the given name and latest plugin version
  • cordova plugin ls : to display all available plugins installed for all platforms in your project
  • cordova plugin rm [plugin-name] : to remove the installed plugin for all platforms in your project
Advertisements

About yingding wang
i am looking forward to innovation in IT and Robotics

Comments are closed.

%d bloggers like this: