title | description | position | publish | slug |
---|---|---|---|---|
Installation |
3 |
true |
installation |
To run {{ site.ns-sk }}, you need to have Node.js installed on your machine. To check whether Node.js is installed on your development machine, you should open a terminal or command prompt and run the node --version
command. If you get an error, head to https://nodejs.org/ and download and install the latest Node.js LTS version. We recommend using Node.js 8.x.
To run {{ site.ns-sk }}, you need to have the latest version of the {{ site.ns-cli }} (currently, 4.1.0) installed on your machine. To install the latest version of {{ site.ns-cli }} from npm, you should open a terminal or command prompt and run the following command:
npm install -g nativescript
- Download the installation file appropriate for your operating system:
- Run the downloaded installable and complete the installation.
If you plan on using only the Cloud build functionality, you should disregard this step.
To build locally with {{ site.ns-sk }}, you need to set up each platform you intend to build for on your development machine.