Skip to content

Commit 3d28038

Browse files
authored
Merge pull request #1921 from NativeScript/how-to-build
How to build instructions added
2 parents 82c260a + 17f5306 commit 3d28038

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The NativeScript CLI lets you create, build, and deploy NativeScript-based proje
2626
* [Troubleshooting](#troubleshooting)
2727
* [Known Issues](#known-issues)
2828
* [How to Contribute](#how-to-contribute)
29+
* [How to Build](#how-to-build)
2930
* [License](#license)
3031

3132
What is NativeScript
@@ -585,6 +586,21 @@ To learn how to contribute to the code base, click [here](https://github.com/Nat
585586

586587
[Back to Top][1]
587588

589+
How to Build
590+
===
591+
```
592+
git clone https://github.com/NativeScript/nativescript-cli
593+
cd nativescript-cli
594+
git submodule update --init
595+
npm install
596+
grunt
597+
```
598+
599+
To use the locally built CLI instead `tns` you can call `PATH_TO_CLI_FOLDER/bin/tns`. For example:
600+
`PATH_TO_CLI_FOLDER/bin/tns run ios|android`
601+
602+
[Back to Top][1]
603+
588604
License
589605
===
590606

0 commit comments

Comments
 (0)