# Local Validator

### Prerequisites. <a href="#prerequisites" id="prerequisites"></a>

Before running Amman your system will need to have a few things installed on your system.

* [Rust](https://www.rust-lang.org/tools/install)
* [Solana CLI](https://docs.solanalabs.com/cli/install)
* [NodeJs](https://nodejs.org/en/download)

### Installation <a href="#installation" id="installation"></a>

Once you have initiated a new or opened an existing project you can install Amman via a package manager.

```
npm i @metaplex-foundation/amman
```

### Add to Scripts (optional) <a href="#add-to-scripts-optional" id="add-to-scripts-optional"></a>

For ease of use you may wish to add the execution of Amman to your package.json scripts.

package.json

JavaScript

```
"scripts": {
    ...
    "amman:start": "npx amman start"
  },
```


---

# 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://8bit-1.gitbook.io/solibrary/local-validator.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.
