# Install the Ionic CLI

### Install the Ionic CLI with npm

```
$ npm install -g @ionic/cli
```

#### Test Drive

* Download the source code.&#x20;
* Next, open the project file&#x20;
* In the terminal run the command&#x20;

```
$ npm i
```

* &#x20;After the successful installation run the following command&#x20;

```
$ ionic serve
```

* Your Ionic app is now running in a web browser. Most of your app can be built and tested right in the browser, greatly increasing development and testing speed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mobiledocs.themeparrot.com/j2store-mobile-app/outfit/install-the-ionic-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
