How to Setup Linux on Windows Vscode (WSL 2)

Published: 10 October 2022
on channel: Jess-Inspired
7,504
114

Easy step by step guide to setting up a linux environment on Windows Vscode

Install Vscode
https://code.visualstudio.com

Microsoft - WSL Install Page
https://learn.microsoft.com/en-us/win...

Microsoft WSL - Install (Manual Page)
https://learn.microsoft.com/en-us/win...

Easy WSL install command
wsl --install

Enable Windows Subsystem For Linux (WSL)
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Check version and build
Windows logo key + R, type winver, select OK

Enable Virtual Machine Feature
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Download Linux Kernel Package
1. X64 based machines
https://wslstorestorage.blob.core.win...
2. ARM64 Machines
https://wslstorestorage.blob.core.win...

Find System Type
systeminfo | find "System Type"

Set WSL2 as Default
wsl --set-default-version 2

Check Hyper-V Requirements
systeminfo.exe

🔗 Hi there🙂👋🏽, Connect with me on LinkedIn
  / jesse-braide-4a2235243  

⏰ Time Stamps
00:00 - Intro
00:37 - Install Vscode
02:12 - Easy WSL install
03:50 - Manual WSL install
10:21 - Ubuntu Terminal Setup
11:32 - Hook up WSL Ubuntu to Vscode
14:23 - Outro..


Watch video How to Setup Linux on Windows Vscode (WSL 2) online without registration, duration hours minute second in high quality. This video was added by user Jess-Inspired 10 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,504 once and liked it 114 people.