The Pico-8 command prompt lets you interact with Pico-8 and the currently loaded cartridge using typed commands. By default, the command prompt is the first thing you see when starting Pico-8.
You use the command prompt to load and save cartridges, manage Pico-8 files, organize them into folders ("directories"), and perform other actions such as starting Splore.
> install_demos > load demos/jelpi > run
For a list of available commands, see CommandReference.
Note: The Pico-8 prompt only accepts commands and statements. To see the value of an expression, you must use the print() statement.
Getting back to the command prompt Edit
When playing a cartridge, you can interrupt the program and return to the command prompt by pressing the Escape key. You can enter Lua statements at the prompt to examine or change the program's global variables. In many cases, you can use the resume command to continue the program (though see resume for caveats).
If you started the cartridge from Splore, pressing Escape opens the Splore pause menu. To get to the command prompt from here, select Splore from this menu, then press Escape again.
At the command prompt, pressing Escape opens the cartridge editor interface. To return to the command prompt from here, press Escape again.
The command prompt is exclusive to the Pico-8 app, and is not available from the Pico-8 web player.