# Quick and optimal hardhat setup

By [N00b21337](https://paragraph.com/@n00b21337) · 2023-01-12

---

Currently to setup hardhat quickly and with most plugins you will need just install HH toolbox

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

[https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-tool…](https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-toolbox)  
and with that you can remove obsoletes in you HH config .

​​​​​​​After that, I would recommend you also add hardhat deploy and hardhat deploy ethers [https://github.com/wighawag/hardhat-deploy#installation](https://github.com/wighawag/hardhat-deploy#installation) (this part is a bit tricky how it works so read instructions carefully)and with that you have most of what you need to run HH with optimal setup.

---

*Originally published on [N00b21337](https://paragraph.com/@n00b21337/quick-and-optimal-hardhat-setup)*
