How to Open the Terminal in Windows
Open Command Prompt, PowerShell, Windows Terminal or WSL on Windows 10 and 11 — including as administrator and directly inside a chosen folder.
Command lineUpdated
Four things on Windows are commonly called 'the terminal' and they are not interchangeable. Command Prompt is a shell, PowerShell is a different shell, Windows Terminal is a window that hosts either of them, and WSL is a Linux environment running alongside Windows. Instructions that assume the wrong one fail in confusing ways.
These guides start by making that distinction concrete, then cover the tasks that genuinely need a command line: identifying the process holding a network port, killing something the graphical tools cannot, and running scripts written for a Unix shell.
Commands are given complete, with the output you should expect, so you can tell success from a silent failure.
Open Command Prompt, PowerShell, Windows Terminal or WSL on Windows 10 and 11 — including as administrator and directly inside a chosen folder.
Command lineUpdated
Find what is holding port 3000, 8080 or any other port on Windows with netstat -ano, then end it with taskkill — plus the PowerShell one-liner equivalent.
Command lineUpdated
Run .sh files on Windows using WSL, Git Bash or Cygwin — how they differ, and how to fix the CRLF line-ending error that breaks scripts edited on Windows.
Command lineUpdated
PowerShell for anything new. It is more capable, and it accepts most familiar commands because names like dir and cls exist as aliases. Command Prompt still matters when you are following older instructions or running a tool that parses its specific output format.
No, and it is worth not doing so by default. Administrator is required for changes affecting the whole system — services, protected folders, ending another user's processes. Ordinary work in your own files does not need it, and running elevated all the time removes a useful safety net.
WSL 2 runs a real Linux kernel in a lightweight managed VM, so effectively yes, though it does not feel like one. It starts in about a second, shares your filesystem, and needs no separate window. WSL 1 was a translation layer instead, with better file interoperability but weaker compatibility.
Performance and storage
4 guides
Force-quitting applications, clearing temporary files and Windows.old, extending the C drive, and removing developer tools cleanly.
Network and devices
5 guides
Wi-Fi, Bluetooth pairing, MAC addresses and connecting an iPhone to a Windows PC, with the diagnostic steps that come before reinstalling a driver.
Files and folders
6 guides
Guides for File Explorer: showing hidden files, hiding and protecting folders, clearing recent-file history, selecting in bulk, and opening unfamiliar file types.