# Commands Used to Run Smart-Mirror

Please do not use this page as part of the step by step process. This is more of a quick reference for use on gitter chat. Often people ask how to do these tasks and sending this page can help.

#### Starting Smart-Mirror normally

```
npm start
```

#### Starting Smart-Mirror with the dev console

```
npm start dev
```

#### Training a Keyword Spotter Model

```
npm run train-model
```

#### Debugging microphone issues

```
npm run microphone-debug
```


---

# 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://docs.smart-mirror.io/running/commands_used_to_run_smart-mirror.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.
