You can use the Cordova command-line interface (CLI) to deploy JavaScript / HTML Cordova application to various native platforms.
Cordova CLI is distributed as an npm package and you need Node.js. You may download Node.JS from here:
https://nodejs.org/en/download/
NodeJs_08
Installing Node.JS installs npm. npm is the package manager for JavaScript and the world’s largest software registry. Read more about npm here:
http://hodentekhelp.blogspot.com/2017/08/what-is-npm-and-how-is-it-useful.html
I already had a slightly earlier version of Node.JS and I take off from there.
All I need to do now is to invoke npm to install cordova.
I do so by running this command:
---
C:\Windows\system32>npm install -g cordova
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
C:\Users\Owner\AppData\Roaming\npm\cordova -> C:\Users\Owner\AppData\Roaming\npm\node_modules\cordova\bin\cordova
C:\Users\Owner\AppData\Roaming\npm
`-- cordova@7.0.1
+-- configstore@2.1.0
| +-- dot-prop@3.0.0
| | `-- is-obj@1.0.1
| +-- graceful-fs@4.1.11
| +-- mkdirp@0.5.1
| | `-- minimist@0.0.8
| +-- object-assign@4.1.1
| +-- os-tmpdir@1.0.2
| +-- osenv@0.1.4
| | `-- os-homedir@1.0.2
| +-- uuid@2.0.3
| +-- write-file-atomic@1.3.4
.
.
.
.
After a while it gets installed.
Testing installed version of cordova
C:\Windows\system32>cordova --version
? May Cordova anonymously report usage statistics to improve the tool over time? Yes
Thanks for opting into telemetry to help us improve cordova.
7.0.1
C:\Windows\system32>
Now you have access to Cordova version 7.0.1 on your computer
Cordova CLI is distributed as an npm package and you need Node.js. You may download Node.JS from here:
https://nodejs.org/en/download/
NodeJs_08
Installing Node.JS installs npm. npm is the package manager for JavaScript and the world’s largest software registry. Read more about npm here:
http://hodentekhelp.blogspot.com/2017/08/what-is-npm-and-how-is-it-useful.html
I already had a slightly earlier version of Node.JS and I take off from there.
All I need to do now is to invoke npm to install cordova.
I do so by running this command:
---
C:\Windows\system32>npm install -g cordova
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
C:\Users\Owner\AppData\Roaming\npm\cordova -> C:\Users\Owner\AppData\Roaming\npm\node_modules\cordova\bin\cordova
C:\Users\Owner\AppData\Roaming\npm
`-- cordova@7.0.1
+-- configstore@2.1.0
| +-- dot-prop@3.0.0
| | `-- is-obj@1.0.1
| +-- graceful-fs@4.1.11
| +-- mkdirp@0.5.1
| | `-- minimist@0.0.8
| +-- object-assign@4.1.1
| +-- os-tmpdir@1.0.2
| +-- osenv@0.1.4
| | `-- os-homedir@1.0.2
| +-- uuid@2.0.3
| +-- write-file-atomic@1.3.4
.
.
.
.
After a while it gets installed.
Testing installed version of cordova
C:\Windows\system32>cordova --version
? May Cordova anonymously report usage statistics to improve the tool over time? Yes
Thanks for opting into telemetry to help us improve cordova.
7.0.1
C:\Windows\system32>
Now you have access to Cordova version 7.0.1 on your computer
No comments:
Post a Comment