DEV Community

🪟 I Love Linux, But I'm Stuck on Windows: Terminal Commands Every Dev Should Know

As a Linux fan, you may find yourself working on Windows, but don't worry, Windows Terminal can be just as powerful with the right commands. To get started, install and use the Windows Terminal from the Microsoft Store, which supports tabs, themes, and multiple shells. For junior developers, essential commands include cd, dir, cls, echo, copy, del, mkdir, and rmdir. Mid-level developers can use set, setx, fc, findstr, tasklist, taskkill, and where to view and set environment variables, compare files, and manage processes. Senior developers can use schtasks, netstat, powershell, reg, wmic, and curl to schedule tasks, check open ports, and query system info. Additionally, modern Windows has curl, tar, ssh, and scp available. Chocolatey package manager and winget can also be used to install apps from the terminal. A visual cheat sheet is provided to help remember these commands, categorized by directory ops, file ops, environment variables, system ops, advanced, and package manager. With the right terminal and commands, you can feel at home on Windows and increase your productivity. By using these commands, you can edit code, debug ports, and manage environment variables efficiently.
favicon
dev.to
dev.to
Create attached notes ...