B NativeScript CLI quick reference

 

The official NativeScript command line interface (CLI) reference is online at https://www.npmjs.com/package/nativescript. But, if you’re looking for a quick reference, read on! You may notice some commands we left out of the book. That’s because they’re commands we don’t use every day. 

B.1   Creating apps

When you need to create a new NativeScript app, you’ll start with the tns create command. Table B.1 details the various options.

B.2   Adding the Android and iOS platforms

B.3   Building apps

B.4   Deploying apps