User Tools

Site Tools


windows_subsystem_wsl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
windows_subsystem_wsl [2023/02/25 17:07] – created skipidarwindows_subsystem_wsl [2023/02/25 21:22] (current) skipidar
Line 1: Line 1:
 ===== Windows Subsystem ===== ===== Windows Subsystem =====
 +
 +Reinstall
  
 <sxh> <sxh>
Line 6: Line 8:
 wsl --install -d Ubuntu-22.04 wsl --install -d Ubuntu-22.04
 </sxh> </sxh>
 +
 +
 +
 +Clone
 +
 +<sxh>
 +wsl --export OriginalDistributionName FileName
 +wsl --import ClonedDistributionName InstallLocation FileName
 +wsl --distribution ClonedDistributionName
 +</sxh>
 +
 +
 +Visual Studio Code integration
 +
 +https://code.visualstudio.com/docs/remote/wsl
 +
 +start Visual Studio Code
 +<sxh>
 +code .
 +</sxh>
 +
 +
 +Watch the folder
 +
 +https://stackoverflow.com/questions/69811903/angular-ng-build-watch-in-remote-containers-and-remote-wsl-not-detecting-file
 +
 +<sxh>
 +    "ng": "ng",
 +    "start": "ng serve --poll 500",
 +    "build": "ng build",
 +    "watch": "ng build --watch --poll 500 --configuration development",
 +    "test": "ng test"
 +</sxh>
 +
windows_subsystem_wsl.1677344861.txt.gz · Last modified: by skipidar