0 Setting up WSL environment (Linux on Windows)
William Blum редактировал(а) эту страницу 2023-02-18 11:30:11 -08:00

Installing WSL

  • Win+R 'Turn on Windows features On or OFF"
  • Select 'Windows Subsystem for Linux'
  • Restart computer
  • Got to Windows store, search for Ubuntu, install
  • Win+R search 'Ubuntu' start it

Set up VSCode with WSL

Setting up git credential under WSL

Azure DevOps blocks password authenticaiton, so you cannot authenticate to git using your corporate password, you need instead to authenticate via a token obtained from Azure DevOps.

Simplest method:

Install Git for Windows on your Windows machine (not in WSL) then set up Git authentication under WSL by running the following command (more info here):

git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe"

Setting up docker without Docker Desktop

See https://nickjanetakis.com/blog/install-docker-in-wsl-2-without-docker-desktop