bash: ganache-cli: command not found on Debian #571
-
Hi I'm using Debian 11. I've installed yarn successfully, and it looks like the ganache-cli was installed ok as well. But when I try to run it I got this error:
The yarn was installed on
I found out the Does It work if I just put this directory on Is it a workaround or there is some other way to do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @programonauta, yes the reason is the yarn node modules aren't added to your path so they wont work, this should work though:
Best regards, Cromewar. |
Beta Was this translation helpful? Give feedback.
Hello @programonauta, yes the reason is the yarn node modules aren't added to your path so they wont work, this should work though:
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
Best regards, Cromewar.