-
Notifications
You must be signed in to change notification settings - Fork 260
Setting up WSL environment (Linux on Windows)
William Blum edited this page Feb 18, 2023
·
2 revisions
- 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
- Install VSCode https://code.visualstudio.com/
- Install Remote WSL extension https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl
- Install Python Extension https://marketplace.visualstudio.com/items?itemName=ms-python.python
- Intall Pylance Extension https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance
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.
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"
See https://nickjanetakis.com/blog/install-docker-in-wsl-2-without-docker-desktop