Should I install hardhat globally? #2955
Replies: 1 comment
-
On the contrary, Hardhat doesn't even work if you install it globally. This is an explicit decision on our part since we think installing tools like this is an anti-pattern, given that it reduces reproducibility among members of the team. Notice that this is a very common recommendation. For example, from eslint's docs:
Or check Prettier's installation docs, where the possibility of installing it globally is not even mentioned (even if prettier does work in that case). |
Beta Was this translation helpful? Give feedback.
-
I'm wondering if I should I install hardhat globally? I installed truffle with
-g
, I shouldn't install hardhat for each project right?Beta Was this translation helpful? Give feedback.
All reactions