- #ADD WSL TO WINDOWS TERMINAL INSTALL#
- #ADD WSL TO WINDOWS TERMINAL FULL#
- #ADD WSL TO WINDOWS TERMINAL FOR WINDOWS 10#
- #ADD WSL TO WINDOWS TERMINAL WINDOWS 10#
The second version of WSL is much more closely integrated with the host Windows operating system, being a full-blown Linux kernel running in Hyper-V (see this Microsoft article on the version differences). If you are on Windows, and do want to do technical stuff, then you can do worse than use the Windows Subsystem for Linux (WSL) together with Visual Studio Code and the Windows Terminal. I’m not going to start (and don’t want to have) the conversation about what desktop you should be on, but as someone who does as much with Office documents as they do with code I’ve been on Windows for some time. IntroductionĪs a bunch of techies, we’ve had plenty of those conversations about Macs vs Windows vs Linux. Enable “Windows Subsystem for Linux.I’ve been using both the second version of the Windows Subsystem for Linux (WSL2), and the newish Windows Terminal for quite a while, and thought it’d be useful to collate some tips and tricks on them all into a single blog. If you prefer updating using UI, then go to the Control Panel -> Programs and click “Turn Windows feature on or off”. Using PowerShell as administrator, execute:ĭism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart You must first enable the “Windows Subsystem for Linux” optional feature before installing any Linux distributions on Windows. Step 1: Enable the Windows Subsystem for Linux
#ADD WSL TO WINDOWS TERMINAL INSTALL#
If not, you can still install WSL1 by only completing steps 1 and 5. You can check this by opening the “About my PC” option from Windows Start and check that the version is “1093” or above and with Build 18362 or Higher.
#ADD WSL TO WINDOWS TERMINAL WINDOWS 10#
So, the bottom line is that Windows users can now get the same Linux experience that they get on a Mac or Linux desktop.īefore you start to setup WSL2, you must satisfy Windows 10 version requirements. This avoids clunky workarounds like Virtual Machines and Cygwin that can slow down your machine. This means developers using Windows machines have access to the complete Linux command line toolset (vi, grep, awk, sed, etc.) and can run their favourite distro on Windows. With continued support from Microsoft, more distros such as SUSE, Alpine, Kali, Debian have followed the steps of Ubuntu and released their distros for WSL. During the initial days, Microsoft achieved this by building the WSL by working with Canonical to run Ubuntu on top of WSL.
![add wsl to windows terminal add wsl to windows terminal](https://www.msftnext.com/wp-content/uploads/2021/06/Windows-Terminal-profiles-to-the-context-menu.png)
Microsoft has brought “native” Linux capabilities to Windows 10 by allowing you to install Ubuntu Bash.
![add wsl to windows terminal add wsl to windows terminal](https://d33wubrfki0l68.cloudfront.net/dc90a182c64a4c7555acc488896cc382d7787006/3c5bc/images/customize-wsl-terminal/customize-wsl-terminal-07.jpg)
Docker, Git, Python, Spark and all the data munging Linux commands) natively on Windows 10. WSL2 provides the ability to run a complete set of Ubuntu tools, VS Code and utilities ( e.g. VS Code can integrate with WSL2 using the Remote-WSL extension.
#ADD WSL TO WINDOWS TERMINAL FULL#
Improvements in WSL2 have made dramatic file system performance increases, and full system call compatibility, meaning you can run more Linux apps in WSL2 such as Docker. So, Microsoft has started shipping a real Linux kernel with Windows that will make full system call compatibility possible. With the growth of public cloud, DevOps practices and continued acceptance of Linux based workloads in production has reinforced the need to have native Linux support on Windows. In line with the WSL updates, I am providing an updated overview of the installation steps in the original blog. Since then, Microsoft has made improvements and has released the WSL2 version and subsequently, the installation steps and system requirements have changed. This has been one of the most popular blog pages on the Altis site.
#ADD WSL TO WINDOWS TERMINAL FOR WINDOWS 10#
I wrote the blog on Installing Ubuntu Bash for Windows 10 using WSL (Windows Subsystem for Linux) a few years back.
![add wsl to windows terminal add wsl to windows terminal](https://miro.medium.com/max/557/1*Xje2bsobssHSJa3H-wOD-w.png)
Anandraj Jagadeesan, Principal Consultant – Altis Sydney