We've put together a handy tutorial to get you started.
Make sure your system has the prerequisites installed and then run the following command.
npm install -g nativescript
Our tutorial lays it all out for you.
Architecture: NativeScript Core
The “Examples NativeScript” sample shows how to build rich animations, as well as powerful graphs, charts, and lists with the NativeScript framework. This is a great reference app for those who prefer NativeScript Core architectures (non-Angular).
The robust set of animations are all implemented in pure CSS. The graphs, charts, and lists are implemented with NativeScript® UI, available in both free and paid editions.
This app is built with TypeScript. Each screen has a menu with options to view additional information about the screen as well as view the source code.