Here is how you enable long path names on Windows (I tested this on Window 10.0.16299.1268):
- Run:
regedit.exe
- Open the key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
- Set LongPathsEnabled to 1:
- Reboot
Then, if you are a git user, you will need to run:
git config --system core.longpaths true
This usually requires admin rights.
That’s it.