Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install wsl2 windows 10 pro

wsl --install
Comment

how to WSL2

Enable Windows Subsystem for linux: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

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

Download WSL2 kernel: https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

Set default WSL verison: wsl --set-default-version 2
Comment

WSL2 .wslconfig Windows

# turn off all wsl instances such as docker-desktop
wsl --shutdown
notepad "$env:USERPROFILE/.wslconfig"

# .wslconfig
[wsl2]
memory=3GB   # Limits VM memory in WSL 2 up to 3GB
processors=4 # Makes the WSL 2 VM use two virtual processors
Comment

PREVIOUS NEXT
Code Example
Shell :: install linux subsystem windows 10 
Shell :: set name and email git 
Shell :: pnpm version 
Shell :: npm github pages 
Shell :: pacman uninstall 
Shell :: r installation on ubuntu 
Shell :: kubernetes command line to scale down pods 
Shell :: hibernate in windows 
Shell :: are if statements their own scope python 
Shell :: ubuntu check chmod 
Shell :: git ignore 
Shell :: ubuntu uninstall fonts 
Shell :: git enable lfs 
Shell :: check ssh connection history linux 
Shell :: clean local branches git 
Shell :: openssh client ubuntu 
Shell :: how to download a file with curl 
Shell :: how to enable remote desktop with cmd 
Shell :: grep not 
Shell :: updating all python modules 
Shell :: gcc 7 install ubuntu 
Shell :: git lfs install 
Shell :: how to make history | grep in windows 
Shell :: ng generate service 
Shell :: open git gui from command line 
Shell :: push local branch to remote github 
Shell :: copy file batch 
Shell :: wsl2 file location 
Shell :: best linux vpn server 
Shell :: pip3 to pip 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =