Skip to content

Instantly share code, notes, and snippets.

@skarllot
Last active April 14, 2025 01:01
Show Gist options
  • Save skarllot/78443327db48f3bac57299cd284aa07c to your computer and use it in GitHub Desktop.
Save skarllot/78443327db48f3bac57299cd284aa07c to your computer and use it in GitHub Desktop.
Enable Long Paths in Windows 10, Version 1607, and Later

Enable Long Paths in Windows 10, Version 1607, and Later

git config --system core.longpaths true
  • Open the Local Group Policy Editor (gpedit.msc)
  • Navigate to: Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem.
  • Open "Enable Win32 long paths" and set it to Enabled.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment