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

wsl install

# Install Ubuntu WSL without Windows Store
https://stackoverflow.com/a/64872285
Comment

PREVIOUS NEXT
Code Example
Shell :: windows subsystem for linux install 
Shell :: can I change a forked repo name 
Shell :: search in history command windows 
Shell :: ssh-add git 
Shell :: push code to github 
Shell :: git stash drop 
Shell :: remove all containers docker 
Shell :: how to run .sh file in background linux 
Shell :: error during global initialization mongodb 
Shell :: ! [remote rejected] main - main 
Shell :: git how to remove git 
Shell :: install pycord 
Shell :: How to find information about my RAM on linux 
Shell :: ubuntu alien install 
Shell :: git clone to path 
Shell :: linux test examples 
Shell :: delete remote branch 
Shell :: htaccess deny all but 
Shell :: give all users access to root folder 
Shell :: pip upgrade all 
Shell :: How To Print The Username Of PC User On Batch Script 
Shell :: install nvm mac with brew 
Shell :: linux time wrong 
Shell :: echo date in bash 
Shell :: create jar with maven commandline 
Shell :: install react-native-community hooks 
Shell :: edge download ubuntu 
Shell :: -bash: aws: command not found 
Shell :: git reset remote 
Shell :: download code from github 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =