diff --git a/start/ns-setup-win.md b/start/ns-setup-win.md index 2b1ce6204..a0b68516a 100644 --- a/start/ns-setup-win.md +++ b/start/ns-setup-win.md @@ -25,7 +25,7 @@ This page contains a list of all system requirements needed to build and run Nat * Android SDK 22 or a later stable official release * Local Maven repository for Support Libraries * Android SDK Build-tools 25.0.2 or a later stable official release -* (Optional) Genymotion to expand your testing options +* Set up Android virtual devices to expand your testing options You must also have the following two environment variables setup for Android development, which will automatically be added for you as part of the installation: @@ -37,53 +37,54 @@ You must also have the following two environment variables setup for Android dev Complete the following steps to set up NativeScript on your Windows development machine: 1. Install [Chocolatey](https://chocolatey.org) to simplify the installation and configuration of the Android tools and SDKs. - 1. Run the command prompt as an Administrator. - 1. Copy and paste the following script in the command prompt. + - Run the command prompt as an Administrator. + - Copy and paste the following script in the command prompt.
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
- 1. Restart the command prompt.
+ - Restart the command prompt.
-1. Install the latest Node.js [6.x](https://nodejs.org/dist/latest-v6.x/) or [7.x](https://nodejs.org/dist/latest-v7.x/) stable official release. We recommend using Node.js v4.x.
+2. Install the latest Node.js [6.x](https://nodejs.org/dist/latest-v6.x/) or [7.x](https://nodejs.org/dist/latest-v7.x/) stable official release. We recommend using Node.js v4.x.
- 1. In the command prompt, run the following command.
+ - In the command prompt, run the following command.
choco install nodejs -y -version 6.9.1
-1. Install [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html) or a later stable official release.
- 1. In the command prompt, run the following command.
+3. Install [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html) or a later stable official release.
+ - In the command prompt, run the following command.
choco install jdk8 -y
-1. Install the [Android SDK](http://developer.android.com/sdk/index.html).
- 1. In the command prompt, run the following command.
+4. Install the [Android SDK](http://developer.android.com/sdk/index.html).
+ - In the command prompt, run the following command.
choco install android-sdk -y
- 1. Restart the command prompt.
+ - Restart the command prompt.
-1. Install the required Android SDKs and the Local Maven repository for Support Libraries.
+5. Install the required Android SDKs and the Local Maven repository for Support Libraries.
echo yes | "%ANDROID_HOME%\tools\android" update sdk --filter tools,platform-tools,android-23,build-tools-23.0.3,extra-android-m2repository,extra-google-m2repository,extra-android-support --all --no-ui
-1. (Optional) Install Genymotion.npm i -g nativescript
- 1. Restart the command prompt.
+ - Restart the command prompt.
-1. To check if your system is configured properly, run the following command.
+8. To check if your system is configured properly, run the following command.
tns doctor