I've installed Truffle v3.2.1 for Windows. If I try to run:

truffle console

Could not find suitable configuration file.

If I run:

truffle create:contract MyContract

I get nothing but command list.

Any ideas?

  • open cmd in the folder you have your Dapp and try to add .cmd like this: <B>truffle.cmd console</B> Commented May 9, 2017 at 11:57
  • no luck with this suggestion. Commented May 10, 2017 at 13:13

4 Answers 4


open a cmd and run testrpc, then open another cmd in the folder you have your Dapp and try to add .cmd like this:

truffle.cmd console

(not enough rep to comment, sorry)


Even, I had the same error.

From the Doc

When using the Command Prompt on Windows, the default configuration file name can cause a conflict with the truffle executable.If this is the case, we recommend using Windows PowerShell or Git BASH as these shells do not have this conflict. Alternatively, you can rename the configuration file to truffle-config.js to avoid this conflict.


I tried changing the config file first, but then I got the same error of config file missing. But when I use it Windows PowerShell, it works like a charm.

Hope this helps

  • Running truffle console from powershell works for me Commented Dec 12, 2017 at 15:08

I finally fixed with this command:

npm install --force -g truffle

It downloads and install all used modules.


Before running truffle compile make sure you are in proper folder. in linux with pwd command you can get your current directory. (in windows I don't know how can you get current directory)

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.