CMD Master

CMD in the browser

Can I use Command Prompt online?

Yes — you can practice Command Prompt (CMD) online in your browser with Windows CLI. It is a learning sandbox for the classic C:\> shell, not the full Windows Terminal app on a PC.

Run dir, cd, and cls with guided lessons, then open the sandbox when you want unstructured practice.

Try it now

Try the command

Run dir to see the folder contents.

Build the command
dir
Terminal
C:\Users\Student>dir
Directory of C:\Users\Student 04/11/2026 08:20 AM <DIR> . 04/11/2026 08:20 AM <DIR> .. 04/11/2026 08:20 AM <DIR> Documents 04/11/2026 08:20 AM <DIR> Downloads 04/11/2026 08:20 AM <DIR> Desktop 04/11/2026 08:20 AM 95 welcome.txt 04/11/2026 08:20 AM <DIR> Reports 04/11/2026 08:20 AM <DIR> Archive 04/11/2026 08:20 AM <DIR> Projects 1 File(s) 6 Dir(s)

Real-World Examples

After dir, step into the folder:

Terminal
C:\Users\Student>cd Documents

Clear the screen before the next command:

Terminal
C:\Users\Student>cls

Read the full guide on Windows Terminal vs CMD

Common questions

Is this the Windows Terminal app?

No. This site teaches CMD inside your browser. On a real PC you would open Windows Terminal and choose the Command Prompt profile.

Can I practice without a Windows PC?

Yes. Lessons and the sandbox run in any modern browser.

Can I run any .exe here?

No. This is for learning CMD syntax — not running arbitrary Windows programs.

Where do I practice next?

Head to the practice CMD hub or open the free sandbox.

Microsoft Learn references

Try CMD in the browser

Pick a guided lesson or mess around in the sandbox.