⭐ 0🔥 0🏆 0 pts

Bug Run: Fix the Broken Commands

Ages 8+BeginnerFree · no ads · no sign-upUpdated November 2026

Bug Run

Spot it. Fix it. Send it home!

More games Play next

About Bug Run

Bug Run

Each bug carries a broken command. Spot the mistake, type the command the right way, and the bug tumbles back home.

Bug Run uses only commands from the free lessons, level by level. Play it free in your browser, with no ads and no sign-up.

Guide How to play

  • Pick a level and press Play. Friendly bugs walk toward PlayType's door, each with a command on its sign.
  • Every command on a sign has one mistake: a swapped letter, a missing space, a dash that is not there. Find it first.
  • Type the command the right way. The lit sign is the bug to fix, the one nearest the door. Capital letters do not matter, as in PowerShell.
  • A wrong key is not typed. Copy the mistake and PlayType says so; stay stuck and the next letter shows as a hint.
  • Fix every bug in the level to win. A bug that reaches the door gets in, so keep an eye on the lane.

Bug Run practises spotting the one wrong letter, space or dash in a command, and entering it right. Reading a command closely, letter by letter, is how you fix red text in a real terminal, too: the computer did exactly what it was told, so the mistake is in what was typed.

Levels The bugs in each level

Every bug below fails on the practice terminal, and its fix works, from your home folder or from Documents. Try both and read the red text the bug gives.

Level 1: look and walk
The bugThe fixWhat was wrong
dridirTwo letters swapped places: it is dir.
cdDocumentscd DocumentsA space goes between the command and the folder.
cd Documnetscd DocumentsThe folder name was spelt wrong: Documents.
cd Pictrescd PicturesPictures was missing its u.
dirDesktopdir Desktopdir needs a space before the folder.
dir Dowloadsdir DownloadsDownloads was missing an n.
dr Documentsdir Documentsdir lost its i.
cd. .cd ..The two dots stay together, after a space.
cd my projectcd my-projectThe folder name has a dash, not a space.
cd my-project\imagesscd my-project\imagesimages had one s too many.

From the lessons up to lesson 7, Level 1 test: Find the Cat.

Level 2: build and write
The bugThe fixWhat was wrong
pdwpwdp-w-d: print working directory.
mkdri gamesmkdir gamesm-k-d-i-r: make directory.
mkdir my gamesmkdir my-gamesA space splits a name in two: use a dash.
mkdirgamesmkdir gamesA space goes after the command.
ecoh hiecho hiecho was spelt ecoh.
cta notes.txtcat notes.txtIt is cat, not cta.
cat note.txtcat notes.txtThe file is notes, with an s.
cat notes,txtcat notes.txtA dot goes before the ending, not a comma.
cat notes.txcat notes.txtThe ending is .txt, all three letters.
clssclscls has just one s.
cat lsit.txtcat list.txtlist was spelt lsit.

From the lessons up to lesson 15, Level 2 test: Command Captain.

Level 3: copy, move, delete
The bugThe fixWhat was wrong
copy notes.txtcopy notes.txt backup.txtcopy needs two names: what, then where.
cpoy notes.txt backup.txtcopy notes.txt backup.txtcopy was spelt cpoy.
ren list.txtren list.txt shopping.txtren needs the old name, then the new one.
rm junk\old.txrm junk\old.txtThe ending is .txt.
rm notes.txt WhatIfrm notes.txt -WhatIf-WhatIf needs its dash.
rm notes.txt -WhatIffrm notes.txt -WhatIfWhatIf has just one f.
dir Namedir -Name-Name is a parameter: it needs a dash.
help cpoyhelp copyhelp can only explain copy if copy is spelt right.
Get-Alais lsGet-Alias lsAlias was spelt Alais.
GetAlias lsGet-Alias lsA dash joins Get and Alias.
pyhton hello.pypython hello.pypython was spelt pyhton.
python helo.pypython hello.pyThe file is hello.py, with two Ls.
python hellopython hello.pyGive the whole name, with .py on the end.

From the lessons up to lesson 24, Level 3 test: Safe Hands.

The fourth level, Every bug, mixes all three. Not sure what a command does? Look it up in the PowerShell cheat sheet or the Command Book.

DayOneCode is an independent learning site, not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.

← All coding games