- In your terminal/cmd of choice, type the following command:
~> npm install -g nativescript
- After installing NativeScript, you will need to add some dependencies. To know what your system is missing, simply type the following command:
~> tns doctor
This command will test your system and make sure that everything is in place. If not, you'll get the missing parts.
- In order to create a new project, you will have many options to choose from. Those options could be creating a new project with vanilla JavaScript, with Typescript, from a template, or even better, using Angular. Head directly to your working directory and type the following command:
~> tns create <application-name>
This command will initialize your project ...