I installed the truffle on my Ubuntu machine and it installed successfully but when i am trying to execute truffle commands it is saying; truffle: command not found

I tried the solution mentioned in this question Unable to install Truffle - Command Not Found

but it didn't worked for me. I think the environment variable path is not set or there is some issue in node modules.

Please give a solution. Thanks in advance.

  • Did you install it with sudo?
    – n1cK
    Commented Jun 7, 2018 at 9:17
  • Yes, i did. I tried to uninstall and install, i did this more than 2-3 times, but no luck. Every time it is installed successfully and when i tried to check its version by truffle -v it is showing this error. Command not found Commented Jun 7, 2018 at 9:21


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.