@@ -10,6 +10,8 @@ The NativeScript CLI lets you create, build, and deploy NativeScript-based proje
10
10
* [ Supported Platforms] ( #supported-platforms " The mobile platforms you can target with NativeScript ")
11
11
* [ System Requirements] ( #system-requirements " The hardware and software requirements for setting up and working with the NativeScript CLI ")
12
12
* [ Installation] ( #installation " How to configure and install the NativeScript CLI ")
13
+ * [Install the NativeScript CLI](#install-the-nativescript-cli)
14
+ * [Configure Proxy Usage](#configure-proxy-usage)
13
15
* [ Quick Start] ( #quick-start " Get started with the NativeScript CLI ")
14
16
* [The Commands](#the-commands)
15
17
* [Create Project](#create-project)
@@ -203,6 +205,8 @@ export PATH=${PATH}:/ant/apache-ant-1.9.4/bin:/Applications/Android Studio.app/s
203
205
Installation
204
206
===
205
207
208
+ ## Install the NativeScript CLI
209
+
206
210
The NativeScript CLI is available for installing as an npm package.
207
211
208
212
In the command prompt, run the following command.
@@ -213,6 +217,18 @@ npm install nativescript -g
213
217
214
218
> On OS X and Linux systems, you might need to run this command using sudo.
215
219
220
+ ## Configure Proxy Usage
221
+
222
+ If you are working with the NativeScript CLI behind a web proxy, you might need to configure your proxy settings.
223
+
224
+ 1 . On your file system, locate the directory where the ** nativescript** npm package is installed.
225
+ 1 . In a text editor, open ` config ` → ; ` config.json ` .
226
+ 1 . Set ` USE_PROXY ` to ` true ` .
227
+ 1 . Set ` PROXY_PORT ` .
228
+ 1 . Set ` PROXY_HOSTNAME ` .
229
+
230
+ > Make sure to preserve the quotation marks and commas as in the initial ` config.json ` file.
231
+
216
232
[ Back to Top] [ 1 ]
217
233
218
234
Quick Start
0 commit comments