Replies: 3 comments
-
Great question! So python, javascript, node, pip, and yarn all do different things. Python by default installs things in the global sense, but javascript installs things in the local sense. Why you can "just run" python packagesWhen I do Let's say for example you install However, when I run Let's say for example you install hardhat with Why you need to add
|
Beta Was this translation helpful? Give feedback.
-
TL;DR Cuz javascript & python are hella different |
Beta Was this translation helpful? Give feedback.
-
fantastic answer, thank you so much!! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
this is a very general question, but I'm a bit confused about the relationship between yarn and hardhat. I get that we use yarn to install all of the packages (I think...), but why do we subsequently need to reference yarn in terminal commands like:
yarn hardhat ....
I use pip to install python packages for example, but I don't subsequently use:
pip python...
to run python code. why can I not just use "hardhat" the way I'd use "python" in the terminal, if that makes sense?
Beta Was this translation helpful? Give feedback.
All reactions