I have been trying to install truffle framework with this command [npm install truffle -g], but I am getting this error. can someone please help me?error while installing truffle

  • There is no error message, it should be installed. If you try to run truffle does it show an error?
    – Ismael
    Nov 25, 2021 at 4:41

1 Answer 1


npm install -g truffle should work, if the case is related to permission use sudo

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.