DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
Redmond desk4 min

How to Run Linux on Windows Without Rebooting: 4 Ways to Open a Linux Terminal

Use WSL, a virtual machine, SSH, or Linux containers to access Linux alongside Windows. See what each option does and when setup may require a restart.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can run Linux commands alongside Windows without booting into a separate operating system. For most people, Windows Subsystem for Linux (WSL) is the simplest way to get a local Linux terminal; a virtual machine, SSH connection, or Linux container makes more sense for other needs. One qualification: setting up WSL or Windows virtualization features may require a restart. “Without rebooting” describes using Linux and Windows together after setup, not a guarantee that installation never asks you to restart.

Microsoft’s current WSL quick start supports Windows 10 version 2004 (build 19041) or later, and Windows 11. Check Microsoft’s WSL installation requirements if you are unsure whether your PC qualifies.

As an Amazon Associate I earn from qualifying purchases.

Which way should you choose?

Method Best for Where Linux runs Main trade-off
WSL Bash, Linux command-line tools, and local development Alongside Windows on your PC Integrated with Windows; WSL 2 needs virtualization support and setup may require a restart.
Virtual machine A more separately managed Linux operating system In a virtual computer on your PC You manage a Linux guest and its allocated resources; Windows virtualization features may need enabling.
SSH Working on a school, work, home, or hosted Linux server On a remote machine Requires a reachable host, network access, and authorization.
Linux container Running an app or a defined development environment In a container workflow, commonly using a WSL 2 backend on Windows Requires container tooling and is not a full Linux desktop.

Windows Terminal can host profiles for shells and remote connections, but it is not itself a Linux distribution. Pick the environment you need first, then use a terminal app to access it.

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

1. Use WSL for a local Linux terminal

WSL provides a GNU/Linux environment on Windows, including distributions such as Ubuntu and familiar command-line tools. It is the most direct choice if your goal is to learn Bash, use Linux utilities, or develop locally while keeping Windows applications available.

#1 Best Overall
Sale
Logitech K270 Full Size Wireless Keyboard for Windows - Black | Full-size keyboard with number pad, 8 multimedia keys, includes USB-A receiver, 2-year battery, compatible with PC, laptop
  • All-day Comfort: This USB keyboard creates a comfortable and familiar typing experience thanks to the deep-profile keys and standard full-size layout with all F-keys, number pad and arrow keys
  • Built to Last: The spill-proof (2) design and durable print characters keep you on track for years to come despite any on-the-job mishaps; it’s a reliable partner for your desk at home, or at work
  • Long-lasting Battery Life: A 24-month battery life (4) means you can go for 2 years without the hassle of changing batteries of your wireless full-size keyboard
  • Simply plug the USB receiver into a USB port on your desktop, laptop or netbook computer and start using the keyboard right away without any software installation
  • Simply Wireless: Forget about drop-outs and delays thanks to a strong, reliable wireless connection with up to 33 ft range (5); K270 is compatible with Windows 7, 8, 10 or later

Install WSL

  1. Open PowerShell or Command Prompt as an administrator.
  2. Run wsl --install. The standard flow enables WSL and Virtual Machine Platform, installs the Linux kernel, sets WSL 2 as the default, and installs Ubuntu.
  3. Restart if Windows prompts you to do so, then complete the Linux distribution’s first-run setup.

These are Microsoft’s documented steps; consult Install WSL for current requirements and details. If WSL is already installed and wsl --install displays help instead of starting the setup, list available distributions with wsl --list --online, then install one with wsl --install -d <DistributionName>. See Microsoft’s WSL command reference for more commands.

Work across Windows and Linux

WSL is designed for interoperation: Windows shells can invoke Linux commands through wsl.exe, while a Linux shell can launch Windows executables such as explorer.exe. You can also access files across the two environments and forward network connections. For active Linux development projects, keep the working files in the Linux filesystem; Microsoft and Docker describe that as the appropriate workflow for WSL development. Read Microsoft’s WSL interoperation guide and WSL development environment setup.

Rank #2
Keychron B1 Pro Ultra-Slim Wireless Keyboard, ZMK/Launcher Programmable Bluetooth/2.4GHz/Wired, 1200 Hours Battery Life, Silent Scissor Switch Office Keyboard for Mac/Windows/Linux - Gray
  • 2.4 GHz & Bluetooth Wireless Connection - The B1 Pro boasts a rapid 1000 Hz polling rate on 2.4 GHz wireless mode that is cable-free to meet your desktop aesthetics. Switch effortlessly between devices via Bluetooth 5.2 for seamless multitasking.
  • Type Quietly - The scissor-switch keys are quiet and especially appreciated in quiet environments like in the office or late night at home. While quick access to emojis with fn+shift helps chat with friends easily and funnier.
  • Program Any Key with Web App - Remap any key and macro with the Keychron Launcher web app (no download required) or ZMK firmware on the latest Chrome, Edge, and Opera browsers, no matter on macOS, Windows, or Linux.
  • Up To 1200 Hours of Use - Enjoy uninterrupted use with up to 1200 hours of battery life, or about 8 months of use with 5 hours of daily use. The concave keycaps also ensure precise input and comfortable typing to fit your fingers naturally.
  • Ultra-Slim and Portable - With a height of only 0.2" (front) and 0.57" (rear), the B1 Pro is easy to carry, and the protective silicone skin helps to protect the keyboard for a long time.

2. Run Linux in a virtual machine

A virtual machine (VM) runs a Linux operating system inside a virtual computer on Windows. Choose it when you want Linux to be a more distinct, separately managed guest rather than an integrated shell. You will need to install and manage the guest OS and decide how much of the host’s resources it can use.

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

Windows virtualization is also relevant to WSL 2. Microsoft’s manual WSL setup identifies Virtual Machine Platform and hardware virtualization as requirements; if a WSL 2 virtual machine will not start, Microsoft recommends checking that the Windows feature is enabled and that virtualization is enabled in firmware. See Microsoft’s manual installation steps and WSL troubleshooting guidance. Enabling Windows virtualization features can require a restart.

Rank #3
Logitech MX Keys Mini Minimalist Wireless Illuminated Keyboard - Graphite
  • Perfect Stroke Typing with Smart Keys (1): Type on keys shaped for your fingertips, with voice to text Dictation (4), Mic Mute/Unmute, and Emoji keys
  • Mini Size, Mighty Powerful: A layout designed for effortless precision, with a minimalist form for an ergonomic keyboard that's portable and can travel wherever you get work done
  • Smart Illumination: The wireless keyboard's backlit keys light up the moment your hands approach, and automatically adjust to suit changing lighting conditions
  • Multi-Device, Multi OS: Pair MX Keys Mini compact keyboard with up to 3 devices on nearly any operating system via Bluetooth Low Energy and switch between them seamlessly
  • Multiple Computers, One Flow: Team the slim MX Keys Mini with MX Master 3 or MX Anywhere 3 and type across multiple computers or laptops in one fluid workflow(1)

A VM’s practical distinction here is separation and management, not a guaranteed advantage in speed, safety, or compatibility. Those outcomes depend on configuration and workload.

3. Connect to a Linux machine with SSH

If you already have access to a Linux machine on a network, SSH lets you open a remote shell from Windows without installing Linux locally. This can suit a work or school server, a Linux computer at home, or a hosted development server.

Rank #4
Rapoo 9010M Multi-Device Keyboard and Mouse Combo, 2.4GHz/Bluetooth 5.0/4.0 Wireless Keyboard & Mouse Set for Windows/Mac/Linux/Chrome, Support 4 Devices, Low-Profile Silent Click, Battery Powered
  • 【Multi-Device and Multi-OS】Both keyboard and mouse are fully multi-device and multi-os friendly for powering through projects on 4 devices at the same time --- driver-free, plug and play.【The USB receiver is located in the battery compartment on the back of the mouse】
  • 【Reliable Wireless Connectivity】Featuring 2.4GHz/Bluetooth 5.0/4.0, this wireless keyboard and mouse combo open up new ways to type on your PC, tablet, phone or a second computer.
  • 【Adjustable DPI】Includes optical 800/1000/1200/1600/2400 resolution mouse for silky prominent movement on different sized displays.
  • 【Silent Click and Dual System Hotkey】The low-profile chiclet scissor keys provide comfortable, quiet typing experience for hours at your desk; Support Windows and Mac OS dual system shortcuts to 12 widely used functions keys like play/pause, volume+/- and more.
  • 【Refined Details from Customer Voice】The latest version has added device and capitalization indicator lights for making it easier to find which device you are typing on, and eliminating the inconvenience caused by not knowing the uppercase or lowercase; The Bluetooth 5.0/4.0 is upgraded from Bluetooth 5.0/3.0 in order to extend battery life, what’s more, we’ve also replaced the alkaline batteries with name brand ones for prolonged use.

You need the remote host to be reachable, network access, and valid authorization. The Linux commands run on that remote machine, not on your Windows PC. Windows Terminal can use configurable SSH profiles; Microsoft covers terminal setup in its development environment guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

4. Use a Linux container for an app or development task

Containers are suited to running a Linux-based application or a defined development environment, not to providing a complete Linux desktop. On Windows, Docker Desktop can use a WSL 2 backend and make Docker commands available from Windows terminals. Its documented workflow also lets you enable WSL integration for a Linux distribution and connect a Windows IDE to a server running in that distribution.

Best Value
BENFEI USB 3.0 Switch, USB Switch 2 Computers Share 4 USB for PC, Mouse, Keyboard, Printer, Scanner, USB KVM Switch Selector Compatible with Windows, Mac, Linux
  • Share Multiple USB Devices between 2 Computer : The BENFEI 2 in 4 out USB 3.0 kvm switch supports 2 computers share 4 USB devices like keyboards, mouses, U disk, printers, scanners, USB cameras, headphones, etc. It's convenient for you to switch freely between your work computer and personal computer, driver free and compatible with multiple OS, such as windows 7/10/8/8.1/7/Vista/XP and Mac OS, Linux, and Chrome OS.
  • Transfer Files in Seconds: With the 4x USB 3.0 ports, BENFEI USB Switcher supports up to 5Gbps data transfer speed. You can easily transfer data from U disk, mobile hard disk to computer. It's backward compatible with USB 2.0, too.
  • Switch Easily: With the USB switcher button and LED indicator design, you can freely switch multiple USB devices between two computers with one click and clearly know the working status. Please note: When connected, it could work only when using the BENFEI USB A to USB A cable.
  • Multiple USB Devices Support: BENFEI USB Switch provides an extra USB C(5V 3A) power supply slot. If you use some high power consumption devices such as HDD, USB cameras, headphones, etc, please connect extra power for stable performance. (The USB A-USB Charging cable is included, but the power adapter is not)
  • 18 MONTH WARRANTY : Exclusive BENFEI Unconditional 18-month Warranty ensures long-time satisfaction of your purchase; Friendly and easy-to-reach customer service to solve your problems timely

This route adds container tooling to the setup and assumes a suitable WSL 2 environment. It is useful when you specifically need a containerized app or development workflow; if you simply want to learn Bash, start with WSL instead. See Docker’s guides to the Docker Desktop WSL 2 backend and developing with Docker Desktop using WSL 2.

What “without rebooting” means in practice

WSL, a VM, an SSH session, and a container let you access Linux without choosing Linux instead of Windows at every startup. After the environment is set up, you can work with Linux and Windows side by side. Initial setup is different: WSL installation may prompt for a restart, and enabling virtualization features can also require one. WSL 2 and virtualization-based VM workflows require hardware virtualization to be available.

  • Want a local Bash prompt? Start with WSL.
  • Want a distinct Linux operating system? Set up a VM.
  • Already have a Linux server? Connect with SSH.
  • Need a bounded app or reproducible development environment? Use containers.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.