When I install chocolatey, I get error like this :

enter image description here


WARNING: It's very likely you will need to close and reopen your shell
  before you can use choco.

WARNING: You can safely ignore errors related to missing log files when
  upgrading from a version of Chocolatey less than 0.9.9.
  'Batch file could not be found' is also safe to ignore.
  'The system cannot find the file specified' - also safe.
WARNING: Not setting tab completion: Profile file does not exist at


How can I solve the error?

  • 1
    By error, do you mean the warning about tab completion? – dsstorefile1 Apr 13 '18 at 12:33
  • Adding the error text as text (if possible) would be helpful to have in addition to the image – bertieb Apr 13 '18 at 12:33
  • @dsstorefile Yes. I mean warning – Success Man Apr 13 '18 at 12:57
  • @bertieb I update my question – Success Man Apr 13 '18 at 13:00
  • You have three warnings, only one, is important. So which warning are you worried about. Have you closed and reopened your PowerShell prompt? – Ramhound Apr 14 '18 at 1:56

With Chocolatey, a warning is just that - it's not an error, it's something you need to know about so you can pay closer attention to the message.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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