mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-10-29 23:16:55 +08:00
chore: readme quick start (#10852)
This commit is contained in:
committed by
GitHub
parent
f3f0930cc2
commit
eef1503027
28
README.md
28
README.md
@ -19,6 +19,34 @@
|
||||
|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2FNativeScript%2FNativeScript?ref=badge_large)
|
||||
|
||||
## Quick Start
|
||||
|
||||
To get started with NativeScript, follow these steps:
|
||||
|
||||
1. **Install the NativeScript CLI globally:**
|
||||
```bash
|
||||
npm install -g nativescript
|
||||
```
|
||||
|
||||
2. **Create a new project:**
|
||||
```bash
|
||||
ns create my-app
|
||||
```
|
||||
|
||||
3. **Navigate into your project directory:**
|
||||
```bash
|
||||
cd my-app
|
||||
```
|
||||
|
||||
4. **Run your app on an emulator or device:**
|
||||
```bash
|
||||
ns run android
|
||||
```
|
||||
or
|
||||
```bash
|
||||
ns run ios
|
||||
```
|
||||
|
||||
## Contribute
|
||||
|
||||
1. [Setup your local development environment](https://docs.nativescript.org/setup/)
|
||||
|
||||
Reference in New Issue
Block a user