NativeScript Getting Started Guide

Welcome to the NativeScript Getting Started Guide. In this tutorial you'll use NativeScript, a cross-platform JavaScript framework for building native mobile apps, to build an iOS and Android app from scratch.

Table of contents

TIP: If you’re a video learner, the third-party site NativeScripting has a free video course that walks you through this guide step by step.

0.1: What is NativeScript?

NativeScript logo

NativeScript is a free and open source framework for building native iOS and Android apps using JavaScript and CSS. NativeScript renders UIs with the native platform’s rendering engine—no WebViews—resulting in native-like performance and UX.

NativeScript provides a best-of-both-worlds development experience. The NativeScript cross-platform JavaScript modules give you the convenience of writing iOS and Android apps from a single JavaScript codebase, while the NativeScript runtimes give you the power of accessing native APIs, SDKs, and frameworks when you need them—all without needing to open Xcode or Android Studio.

0.2: Prerequisites

This guide assumes that you have some basic knowledge of JavaScript, CSS, and your development machine’s terminal. More specifically:

  • JavaScript: You should know basic JavaScript concepts, such as how functions, if statements, and loops work.
  • CSS: You should know how to write simple CSS selectors, and know how to apply CSS rules as name/value pairs.
  • The terminal: You should know how to open a terminal or command-line prompt on your development machine, how to change directories, and how to execute commands.
  • A text editor or IDE: You should know the basics of your text editor or IDE of choice. You can use any text editor to build NativeScript apps.

0.3: Installation

In order to start this tutorial you need to have the NativeScript CLI (command-line interface) installed on your development machine, which you can do using the link below.

TIP: Setting up your machine for native development can be tricky, especially if you’re new to mobile development. Here are a few tips you might find useful.

With that out of the way, let’s get started building apps with NativeScript!

Is this article helpful? Yes / No
Thank you for your feedback!

Tell us how we can improve this article

NativeScript is licensed under the Apache 2.0 license .
© Progress Software Corporation. All Rights Reserved.