Head to the Start menu search bar, type in ‘terminal,’ and launch the Windows Terminal as administrator.
Type in the following command in the administrator: wsl –install.
Restart your PC once the installation is complete.
Head to the Start menu search bar, type in ‘terminal,’ and launch the Windows Terminal as administrator.
Type in the following command in the administrator: wsl –install.
Restart your PC once the installation is complete.
However, Windows 11 includes a heavily updated Windows Subsystem for Linux (WSL 2.0) that makes it easier to set up and use Bash. The new version of WSL moves the real Linux kernel inward thanks to a virtual machine. This means that any Linux distribution you run WSL on will include bash.
On the Windows desktop, open Settings.
Click Update & Security.
In the “Use developer features” section, select “Developer mode” to host the Up environment for installing Bash.
After installing the prerequisites, you must restart each computer.
You can download any Linux distribution from the boot menu. Step 1: Open the start menu and the method “Windows Features” in the search weight and click “Turn Windows features on or off”. Step 2: Check the “Windows Subsystem for Linux” box and even click the “OK” button.
Are you grappling with persistent PC problems? We have a solution for you. Introducing our all-in-one Windows utility software designed to diagnose and address various computer issues. This software not only helps you rectify existing problems but also safeguards your system from potential threats such as malware and hardware failures, while significantly enhancing the overall performance of your device.
Type bash at the command line, remembering that this will be the distribution’s boot command line.
Navigate to the folder where the scripts actually exist using the “cd” command to help the folder.
Type “sh script.sh” and press Enter.
Only 64-bit versions of Windows 11 support the Windows subsystem. Indeed, Bash uses Hyper-V in Windows 11, which is far from available in 32-bit versions. You will be sure to install and open Linux software on your Windows 11 PC to really use the Windows Subsystem (WSL).
Microsoft generated this extremely easy process in Windows 11. I would say that you can enable the Windows Subsystem for Linux and install a good Linux distribution like Ubuntu with one good command. To do this, you need a command prompt window to use with administrator privileges.
When the Microsoft CEO announced that the Bash shell would return in the next version of Windows, many people simply couldn’t believe it. #BashOnWindows after following Twitter a few days ago was a consequence of this news. But Bash on Windows wasn’t available to everyone. So people had to install 10 Windows tech magazines to install Linux on ten windows.
I’m Ahmir, a freelance writer and editor who specializes in technology and business. My work has been featured on many of the most popular tech blogs and websites for more than 10 years. Efficient-soft.com is where I regularly contribute to my writings about the latest tech trends. Apart from my writing, I am also a certified project manager professional (PMP).