Skip to content

Commit 1140eee

Browse files
committed
Install toolbox before plugin
1 parent 1fdfe37 commit 1140eee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/content/hardhat-runner/docs/advanced/hardhat-and-foundry.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -78,30 +78,30 @@ If you have an existing Foundry project and you want to use Hardhat in it, follo
7878

7979
First, if you don't have a `package.json` already in your project, create one with `npm init`.
8080

81-
Then install Hardhat and the [`@nomicfoundation/hardhat-foundry`](/hardhat-runner/plugins/nomicfoundation-hardhat-foundry) and [`@nomicfoundation/hardhat-toolbox`](/hardhat-runner/plugins/nomicfoundation-hardhat-toolbox) plugins:
81+
Then install Hardhat, the [Hardhat Toolbox](/hardhat-runner/plugins/nomicfoundation-hardhat-toolbox), and the [`@nomicfoundation/hardhat-foundry`](/hardhat-runner/plugins/nomicfoundation-hardhat-foundry) plugin:
8282

8383
::::tabsgroup{options="npm 7+,npm 6,yarn"}
8484

8585
:::tab{value="npm 7+"}
8686

8787
```
88-
npm install --save-dev @nomicfoundation/hardhat-foundry @nomicfoundation/hardhat-toolbox
88+
npm install --save-dev @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-foundry
8989
```
9090

9191
:::
9292

9393
:::tab{value="npm 6"}
9494

9595
```
96-
npm install --save-dev @nomicfoundation/hardhat-foundry @nomicfoundation/hardhat-toolbox
96+
npm install --save-dev @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-foundry
9797
```
9898

9999
:::
100100

101101
:::tab{value=yarn}
102102

103103
```
104-
yarn add --dev hardhat @nomicfoundation/hardhat-foundry @nomicfoundation/hardhat-toolbox
104+
yarn add --dev hardhat @nomicfoundation/hardhat-toolbox @nomicfoundation/hardhat-foundry
105105
```
106106

107107
:::

0 commit comments

Comments
 (0)