Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

You can run Linux commands alongside your Windows desktop with Windows Subsystem for Linux (WSL), a Linux virtual machine, an SSH connection to a remote Linux computer, or Linux containers. For most people who want Bash and everyday Linux tools on their own PC, WSL is the simplest place to start.

“Without rebooting” describes using Linux and Windows side by side after setup; it does not guarantee a restart-free installation. Microsoft’s documented WSL setup may ask you to restart, and virtualization features used by WSL 2 or a VM may also require one. The current WSL quick start supports Windows 10 version 2004 (build 19041) or later and Windows 11. Microsoft’s WSL installation guide has the current requirements.

Which method should you choose?

What you want Best fit Where Linux runs
Bash and Linux command-line tools alongside Windows apps WSL On your Windows PC, in an integrated Linux environment
A more separately managed Linux operating system Virtual machine As a guest operating system on your Windows PC
A shell on a computer you already have access to SSH On a remote Linux host
An isolated app or repeatable development environment Linux containers In a container engine, commonly configured with WSL 2 on Windows

These options differ mainly in integration and separation: WSL mixes Linux and Windows workflows, a VM gives Linux its own guest environment, SSH connects to another machine, and containers package an app or development setup. Windows Terminal can host terminal profiles, but it is not itself a Linux distribution. Microsoft’s WSL development setup guide covers terminal setup and SSH profiles.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

1. Install WSL for a local Linux shell

WSL provides a GNU/Linux environment on Windows, including tools such as Bash and distributions such as Ubuntu. Microsoft’s quick-start command enables WSL and Virtual Machine Platform, installs the Linux kernel, sets WSL 2 as the default, and installs Ubuntu. Open an elevated PowerShell or Command Prompt, then run:

#1 Best Overall
wsl --install
  1. Open PowerShell or Command Prompt as an administrator.
  2. Run wsl --install and follow any prompts.
  3. Restart if Windows requests it, then launch the installed Linux distribution and complete its first-run setup.

If WSL is already installed and wsl --install displays help rather than starting installation, list available distributions and install one by name:

wsl --list --online
wsl --install -d <DistributionName>

For example, use a distribution name shown by the first command in place of <DistributionName>. See Microsoft’s basic WSL commands for distribution-management commands.

Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

Work across Windows and Linux

WSL is designed to interoperate with Windows. From a Windows shell, you can invoke Linux commands with wsl.exe; from Linux, you can launch Windows programs such as explorer.exe. Files can be accessed across the two environments, and network connections can be forwarded. Microsoft documents these capabilities in its WSL interoperability guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For development, keep active project files in the Linux filesystem when following the WSL workflow documented by Microsoft and Docker. The Microsoft environment guide and Docker’s WSL development guide describe this setup.

Rank #3
15.6 Inch Laptop Computer, N4020, 4GB DDR4 RAM, 128GB eMMC,with Windows 11
  • EFFORTLESS EVERYDAY PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 Home system, delivering reliable, low-power efficiency for daily tasks like document editing, email, online classes, and web browsing
  • 15.6-INCH FULL HD DISPLAY: Enjoy immersive visuals on the 15.6" FHD (1920x1080) anti-glare screen with micro-edge bezels. Delivers clear details and comfortable viewing for long study sessions, working on spreadsheets, and video playback
  • RESPONSIVE MULTITASKING & STORAGE: Built with 4GB LPDDR4 RAM and 128GB eMMC storage for smooth daily essential use. Expand your storage by up to 1TB via the integrated TF card slot to easily store movies, photos, and working files
  • ADVANCED CONNECTIVITY: Outfitted with 2x Full-Featured Type-C ports for data transfer, fast charging, and dual-monitor output, alongside 2x USB 3.2 Gen1 ports and a 3.5mm audio jack for complete peripheral compatibility
  • LIGHTWEIGHT & SILENT OPERATION: Slim and portable for effortless travel or commuting. Features a 1MP HD webcam for remote meetings, 38Wh battery with 45W Type-C fast charging, and a fanless silent design for peaceful work environments.

2. Run Linux in a virtual machine

A virtual machine (VM) runs Linux as a guest operating system in a virtual computer on Windows. It is a good fit when you want Linux managed more separately than WSL, such as a distinct guest OS with its own allocated resources. You will need to install and maintain the guest system and configure the resources assigned to it. Microsoft lists VMs as one way to install Linux and describes Hyper-V as a Windows hypervisor in its Linux installation guide.

Virtualization also matters for WSL 2. WSL 2 and VM workflows depend on virtualization support, and enabling Windows virtualization features can require a restart. If a WSL 2 virtual machine will not start, Microsoft recommends checking that the Virtual Machine Platform feature is enabled and that virtualization is enabled in firmware. See the manual WSL installation steps and WSL troubleshooting guide.

Rank #4
15.6 Inch Win 11 Laptop Computer, N4020, 4GB DDR4 RAM, 128GB Storage
  • WINDOWS 11 | STABLE PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 system, this laptop delivers stable performance for everyday computing tasks. It supports web browsing, online learning, document editing, email communication, and basic office work with optimized power efficiency, providing a practical and reliable experience for essential daily use for daily use.
  • 15.6” FHD IPS DISPLAY: Features a 15.6-inch Full HD IPS display with narrow bezels, offering wider viewing angles and clearer image details compared to standard panels. The improved screen-to-body ratio enhances visual experience for study, reading, document work, and video playback, making it suitable for both productivity and entertainment use.
  • 4GB DDR4 + 128GB eMMC STORAGE: Equipped with 4GB DDR4 memory and 128GB eMMC storage for everyday basics such as browsing, documents, email, and online learning platforms. The built-in TF card slot supports storage expansion up to 1TB, giving you more flexibility for files, photos, videos, and daily documents. TF card not included.
  • CONNECTIVITY & PORTS: Includes 1× TF card slot, 2× USB 3.2 Gen1 ports, and 2× full-featured Type-C ports (USB 3.2 Gen1). The Type-C ports support data transfer, charging, and video output, enabling flexible connection with external devices such as monitors, storage, and peripherals for daily work and study use.
  • LIGHTWEIGHT DESIGN | ONLINE COMMUNICATION: Designed with a slim, portable profile, this laptop is easy to carry for school, commuting, and travel. A built-in 1MP front camera supports online classes, video meetings, remote communication, and everyday conferencing. The 3300mAh battery works with the low-power system design to support practical daily use, while thermal optimization helps maintain quieter operation during extended tasks.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

3. Connect to a Linux machine with SSH

SSH gives you a terminal session on a Linux computer elsewhere rather than installing a Linux distribution on your PC. Use it for a school or work server, a Linux computer at home, or another development host when you have network access and authorization. Windows Terminal can be configured with SSH profiles; the Linux commands you run execute on the remote host. Microsoft includes SSH profile setup in its development environment guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • You need a reachable Linux host and a network route to it.
  • You need permission to connect and valid credentials, such as an account and password or an authorized key.
  • If the host is unavailable or your account is not authorized, opening a terminal on Windows alone will not provide a Linux shell.

4. Use Linux containers for apps and development

Containers are useful when you need to run a Linux-based application or create a defined development environment, not when you simply want a general-purpose Linux desktop. On Windows, Docker Desktop can use a WSL 2 backend, make Docker commands available from Windows terminals, and enable integration with a Linux distribution. Its WSL workflow can also connect a Windows IDE to a server running in that distribution. See Docker’s WSL 2 backend documentation and WSL development workflow.

This option adds container tooling and requires a suitable WSL 2 setup. If your goal is learning Bash or using ordinary Linux command-line utilities, start with WSL rather than installing container tools just to get a shell.

What “without rebooting” means in practice

After setup, these approaches let you use Windows and Linux without rebooting between operating systems. Initial setup is different: WSL’s quick start may require a restart, and enabling virtualization features can require one as well. Windows Terminal is simply a terminal host; choose WSL, a VM, SSH, or containers according to where you want Linux to run and how separate you want it to be.

Quick Recap

Bestseller No. 1
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$245.99
Bestseller No. 2
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$285.00

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.