Windows installation

The purpose of this section is to guide you to setup your development environment on a windows platform.

There is a great documentation on nativescript.org :

Start by reading this documentation. Then check that you are running on the correct platform : you must have at least a windows 7.1.

nativescript.org provides a gem for automatic installation on the Windows platform. This gem is a PowerShell script that does almost everything for you:

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

Notice the url of the PowerShell script :

https://chocolatey.org/install.ps1

Open this url in your navigator to explore the content of this script.

What this script does is a three steps installation process:

  • Automatic installation of Chocolatey;
  • Automatic installation of GoogleChromeStandaloneEnterprise.msi;
  • Automatic installation of JDK and Android SDK.

If you want to go the easy way then just follow every steps in NativeScript Advanced Setup: Windows.

This section will show you a detailed step-by-step installation of NativeScript:

  • Chrome installation;
  • JDK installation;
  • Android SDK installation;
  • Android Emulator setup;
  • Node.js installation;
  • Visual Studio Code installation;
  • NativeScript CLI installation;
  • NativeScript Extension for Visual Studio Code;
  • Checking that everything is installed.

results matching ""

    No results matching ""