Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

wsl windows

1) Run PowerShell as administrator
2) Paste this command:
  Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
3) Restart your PC
4) Run PowerShell as administrator again
5) Paste these two commands:
  dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
  dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
6) Restart your PC Again
7) Download the Linux Kernel Update Package from
  https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
8) Then, run powershell as administrator again and paste this command:
  wsl --set-default-version 2
9) Install a distro of your choice from the Microsoft Store (Example Ubuntu, Kali Linux)

OR:

Run this command: wsl --install
NOTE: To Run this command given above, you must be running 
Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11.
Also, running this command installs Ubuntu by default.
Comment

PREVIOUS NEXT
Code Example
Shell :: can I change a forked repo name 
Shell :: pnpm version 
Shell :: merge master with main 
Shell :: git remove folder from cache 
Shell :: start fast api server 
Shell :: macos kill process on port 
Shell :: powershell create file content 
Shell :: loopback cli 
Shell :: zsh aliases 
Shell :: install jwt express 
Shell :: linux commands 
Shell :: loop file bash 
Shell :: error: unknown command "neat" for "kubectl" 
Shell :: add to a github repo 
Shell :: split sh string 
Shell :: linux remove folder with content 
Shell :: sudo doesnt work on windows 
Shell :: install forge server command line 
Shell :: copy whole directory command line 
Shell :: ffprobe get duration 
Shell :: install aws cli on windows 
Shell :: how to delete branch github 
Shell :: gitlab new project push commands 
Shell :: rename heroku app local 
Shell :: linux mv all folder to previous folder 
Shell :: ubuntu install composer 
Shell :: brew install jupyter 
Shell :: git heroku commit 
Shell :: installing deb 
Shell :: Display your current shell name 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =