How to enable/install WSL 2

Search for a command to run...

No comments yet. Be the first to comment.
YAML Ain't a Markup Language. This is the full form of YAML. Why YAML ? YAML is a serialization language. Means that it is used to transfer the data from one end to other like from the backend to the frontend and it is also used to store data in k...

Creating Modules As our program grows we should split our code across multiple files. We refer to each file as a module. A module should contain related data, functions, and objects. def calc_tax(): pass def calc_shipping(): pass Importi...

Step 1: Install it sudo npm i -g npkill Or you can use it without installing with npx npx npkill Step 2: Go the directory where you want to scan for node_modules folder npkill # if you have installed it npx npkill # if you have not install...

Classes All the functions in a class should have at least one parameter and by default, we call it self. self is a reference to the current object # CREATEING CLASS class Point: def draw(self): print("draw") # CREATING OBJECT FROM THE...

This is not like pop notifications. This is more like a customized alert notification. Click here to visit the official GitHub page of this project. How to use react-toastify Step 1: Install it npm i react-toastify Step 2: Import it in app.js ...

This article is for x64 machines
If you want to find out what kind of system you have type
systeminfo | find "System Type"in PowerShellIf it says
x64-based PCthen this article is for you.
You can enable these windows to feature by running this command.
Run this command in
PowerShellorcmdas an admin.
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Run this command in
PowerShellorcmdas an admin.
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Restart your machine to complete the WSL install and update to WSL 2.
wsl --set-default-version 2
Download Ubuntu or any other distro from the Microsoft Store. Now you can open Ubuntu from the start menu.