0
votes

I have setted up a private Ethereum network. I did not have admin rights, but I managed to install truffle as an administrator. Now when I am giving command-"truffle".It shows error -

'truffle' is not recognized as an internal or external command, operable program or batch file.

'truffle' command is only working from the directory: C:/Users/{User}.

Please help as I have been stuck on this problem for past 2 days. Any kind of help is appreciated.Thanks.

1

1 Answers

0
votes

Sounds like you need to add the folder path to the system environment path variable. Here’s a couple ways to go about this.

https://docs.alfresco.com/4.2/tasks/fot-addpath.html

Adding directory to PATH Environment Variable in Windows