You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/05/09 21:18:46 UTC

[GitHub] [cordova-docs] janpio commented on a change in pull request #987: Prefer local cordova CLI with npx

janpio commented on a change in pull request #987: Prefer local cordova CLI with npx
URL: https://github.com/apache/cordova-docs/pull/987#discussion_r282669637
 
 

 ##########
 File path: www/contribute/issues.md
 ##########
 @@ -32,14 +32,24 @@ If you aren't sure about the priority, leave the default (major) selected. Pleas
 
 You can quickly find out versions of platforms/plugins you're using by running:
 
-    cordova platform ls
+```bash
+$ npx cordova platform ls
+```
 
 or
 
-    cordova plugin ls
+```bash
+$ npx cordova plugin ls
+```
 
 in your project respectively. You can find out the version of the Cordova CLI you're using by running:
 
+```bash
+$ npx cordova --version
+```
+
+If you have installed `cordova` globally (which is not recommended), you just invoke the same commands without `npx`:
 
 Review comment:
   "not recommended" is strong wording. We recommended exactly this for ~10 years. "alternative way to use Cordova" seems more suitable.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org