WSL2 Workspace Setup for Windows

Author: Gao

Tags:

Install WSL on Windows

Following this instruction to install WSL2

wsl --install

Install one of the supported Linux distributions

wsl --install -d Debian

Configure Git

  1. Install the git inside of WSL with sudo apt install git
  2. Follow this instruction Configure git inside of WSL to use Windows Credential Manager
  3. Install wslgit on Windows
  4. Execute git config --global core.autocrlf true
  5. Install git-lfs with sudo apt install git-lfs