You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2id="getting-up-and-running">Getting up and running</h2>
82
-
<p>In this chapter you're going to start with the basics, including installing the NativeScript CLI, starting a new project, and getting your first app up and running.</p>
82
+
<p>In this chapter you're going to start with the basics, including installing the NativeScript command-line interface, starting a new project, and getting your first app up and running.</p>
83
83
<h3id="install-nativescript-and-configure-your-environment">Install NativeScript and configure your environment</h3>
84
84
<p>The NativeScript CLI has a few system requirements you must have in place before building NativeScript apps. Let’s look at the steps you’ll need to take to get up and running.</p>
<p>The NativeScript CLI is built on Node.js, and as such you need to have Node.js installed to use NativeScript.</p>
93
-
<p>You can check whether you have Node.js installed by opening your terminal or command prompt and executing <code>node --version</code>. If you get an error, head to the <ahref="https://nodejs.org/">https://nodejs.org/</a> and download and install the latest “LTS” distribution for your development machine.</p>
93
+
<p>You can check whether you have Node.js setup by opening a terminal or command prompt on your development machine and executing <code>node --version</code>. If you get an error, head to the <ahref="https://nodejs.org/">https://nodejs.org/</a> and download and install the latest “LTS” distribution for your development machine.</p>
94
94
<blockquote>
95
-
<p><strong>TIP</strong>: The NativeScript CLI supports a wide variety of Node.js versions, so if you already have Node.js installed you’re likely good to go. If, by chance, you are running an unsupported version, the <code>tns doctor</code> command we’ll run momentarily will flag the problem so you can upgrade.</p>
95
+
<p><strong>TIP</strong>: The NativeScript CLI supports a wide variety of Node.js versions, so if you already have Node.js installed you should be good to go. If, by chance, you’re running an unsupported version, the <code>tns doctor</code> command we’ll run momentarily will flag the problem so you can upgrade.</p>
96
96
</blockquote>
97
97
<ul>
98
98
<li><strong>Step 2</strong>: Install the NativeScript CLI</li>
99
99
</ul>
100
-
<p>Open your terminal or command prompt and execute the following command to install the NativeScript CLI from npm:</p>
100
+
<p>Open your terminal or command prompt and execute the following command to install the NativeScript CLI from npm, which is Node.js’ package manager:</p>
101
101
<pre><code>npm install -g nativescript
102
102
</code></pre><p>After completing the setup you should have two commands available from your terminal or command prompt: <code>tns</code>—which is short for <b>T</b>elerik <b>N</b>ative<b>S</b>cript—and <code>nativescript</code>. The two commands are equivalent, so we'll stick with the shorter <code>tns</code>.</p>
103
103
<p>You can verify the installation was successful by running <code>tns</code> in your terminal. You should see something like this:</p>
@@ -113,7 +113,7 @@ <h4 class="exercise-start">
113
113
</code></pre><ul>
114
114
<li><strong>Step 3</strong>: Install iOS and Android requirements</li>
115
115
</ul>
116
-
<p>When you build with NativeScript you’re building truly native iOS and Android apps, and as such, you need to have the system requirements needed to build for each platform you intend to build for on your development machine.</p>
116
+
<p>When you build with NativeScript you’re building truly native iOS and Android apps, and as such, you need to have the system requirements for each platform you intend to build for on your development machine.</p>
117
117
<p>NativeScript provides two options for installing these requirements—quick setup scripts for developers new to mobile development, and advanced setup scripts for experienced mobile developers, as well as developers that want complete control over the installation process.</p>
118
118
<ul>
119
119
<li><strong>Step 3—Option A</strong>: Run quick setup scripts</li>
Copy file name to clipboardExpand all lines: src/chapters/chapter1.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## Getting up and running
2
2
3
-
In this chapter you're going to start with the basics, including installing the NativeScript CLI, starting a new project, and getting your first app up and running.
3
+
In this chapter you're going to start with the basics, including installing the NativeScript command-line interface, starting a new project, and getting your first app up and running.
4
4
5
5
### Install NativeScript and configure your environment
6
6
@@ -14,13 +14,13 @@ The NativeScript CLI has a few system requirements you must have in place before
14
14
15
15
The NativeScript CLI is built on Node.js, and as such you need to have Node.js installed to use NativeScript.
16
16
17
-
You can check whether you have Node.js installed by opening your terminal or command prompt and executing `node --version`. If you get an error, head to the https://nodejs.org/ and download and install the latest “LTS” distribution for your development machine.
17
+
You can check whether you have Node.js setup by opening a terminal or command prompt on your development machine and executing `node --version`. If you get an error, head to the https://nodejs.org/ and download and install the latest “LTS” distribution for your development machine.
18
18
19
-
> **TIP**: The NativeScript CLI supports a wide variety of Node.js versions, so if you already have Node.js installed you’re likely good to go. If, by chance, you are running an unsupported version, the `tns doctor` command we’ll run momentarily will flag the problem so you can upgrade.
19
+
> **TIP**: The NativeScript CLI supports a wide variety of Node.js versions, so if you already have Node.js installed you should be good to go. If, by chance, you’re running an unsupported version, the `tns doctor` command we’ll run momentarily will flag the problem so you can upgrade.
20
20
21
21
***Step 2**: Install the NativeScript CLI
22
22
23
-
Open your terminal or command prompt and execute the following command to install the NativeScript CLI from npm:
23
+
Open your terminal or command prompt and execute the following command to install the NativeScript CLI from npm, which is Node.js’ package manager:
24
24
25
25
```
26
26
npm install -g nativescript
@@ -44,7 +44,7 @@ $ tns
44
44
45
45
***Step 3**: Install iOS and Android requirements
46
46
47
-
When you build with NativeScript you’re building truly native iOS and Android apps, and as such, you need to have the system requirements needed to build for each platform you intend to build for on your development machine.
47
+
When you build with NativeScript you’re building truly native iOS and Android apps, and as such, you need to have the system requirements for each platform you intend to build for on your development machine.
48
48
49
49
NativeScript provides two options for installing these requirements—quick setup scripts for developers new to mobile development, and advanced setup scripts for experienced mobile developers, as well as developers that want complete control over the installation process.
0 commit comments