How to install Git LFS on WSL2 – Windows 11 or 10?

Git LFS (huge file system) is a GitHub plugin that lets developers manage huge files including photos, movies, and binary files fast and effectively. 

White Frame Corner
White Frame Corner

Install Ubuntu WSL 2 or 1 I assume you downloaded and installed Ubuntu on Windows Subsystem for Linux to run.

White Frame Corner
White Frame Corner

System update Run Ubuntu in the Windows search box after starting the WSL using Ubuntu bash. Start with system update.

White Frame Corner
White Frame Corner

Installing Git LFS on Ubuntu WSL 2 or 1  Ubuntu 22.04/20.04's system default repository has Git LFS, thus we can use APT to install it.

White Frame Corner
White Frame Corner

Using Git LFS To learn GitHub commands after installing Git LFS, visit its man page.

White Frame Corner
White Frame Corner

Git LFS is suggested for files over 100MB since Git may be more efficient for smaller files.

White Frame Corner
White Frame Corner

Swipe up for more Amazing  Technology updates

White Frame Corner
White Frame Corner