Is there a way to change the plugin install location from:


to let say:


After installing LazyVim, cloning into that folder fails so none of the plugins were installed.

  • Do you still have something open in your question? How can we help you further? Otherwise maybe could you accept one of the answers using the v button next to the arrow voting buttons. It allow the question to rest :-) Jan 22 at 18:58
  • 1
    let me try your suggestion and I will get back to you.
    – ThomasDKim
    Jan 24 at 18:16
  • Thanks, take your time :-) I'm just interested to make sure we follow up and don't have dangling questions ;-) Jan 24 at 18:20

1 Answer 1


You can influence the path of the nvim-data folder by setting the: XDG_DATA_HOME environment variable.

If set, the path of the nvim-data folder is %XDG_DATA_HOME%\nvim-data

Setting XDG_DATA_HOME to C:\ should do the trick.

  • 1
    This worked! Thank you!
    – ThomasDKim
    Jan 24 at 18:28
  • Thanks for the feedback :-) I'm glad your problem is solved ;-) Jan 24 at 18:29

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.