> For the complete documentation index, see [llms.txt](https://mockly.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mockly.gitbook.io/docs/getting-started-1/install.md).

# Install

Describes how to install Mockly

Install **Mockly**, as other CLI tools, is pretty straightforward. You can choose between install it globally:

```
npm install -g @mockly/cli
```

Or locally in a project:

```
npm install --save-dev @mockly/cli
```

Independently the way you chose to install the tool,  you should be able to use it just typing `mockly` to start the server:

```
$ mockly
```
