# Create Hardhat Project

***

{% hint style="info" %}
We will be using the Javascript project option after having the init command.
{% endhint %}

### Install Hardhat and Dependencies

* Create a new project directory and navigate into it:

```
mkdir hardhat-project
cd hardhat-project
```

* Initialize a new npm project:

```
npm init -y
```

* Install Hardhat:

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

* Create a sample project using Hardhat:

```
npx hardhat init
```


---

# 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://supraoracles.gitbook.io/supra/network/evm/getting-started/hardhat/create-hardhat-project.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.
