# Installation

## Setting Up The Environment

{% hint style="warning" %}
Make sure you have installed [Node.js](https://nodejs.org/en/download) and [npm ](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)on your system before proceeding with this guide.
{% endhint %}

1. Install Hardhat

```
npm install --save-dev hardhat
```

2. Create a Hardhat project

```
npx hardhat
```

3. Press enter on `Create a JavaScript project`

```
888    888                      888 888               888
888    888                      888 888               888
888    888                      888 888               888
8888888888  8888b.  888d888 .d88888 88888b.   8888b.  888888
888    888     "88b 888P"  d88" 888 888 "88b     "88b 888
888    888 .d888888 888    888  888 888  888 .d888888 888
888    888 888  888 888    Y88b 888 888  888 888  888 Y88b.
888    888 "Y888888 888     "Y88888 888  888 "Y888888  "Y888

Welcome to Hardhat v2.17.1

? What do you want to do? …
▸ Create a JavaScript project
  Create a TypeScript project
  Create an empty hardhat.config.js
  Quit

```

{% hint style="info" %}
Make sure you install the hardhat toolbox by running
{% endhint %}

```
npm install --save-dev @nomicfoundation/hardhat-toolbox
```

If the process is successful, you will see the text `Project created` 🎉


---

# 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.logosnodos.online/solidity-compiler/hardhat/installation.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.
